|
Hi Everybody,
I am stuck with a requirement where I have to flag/mark cities' location on a map of the country. The question is how can I store information of position of the cities for the map. should I use x/y coordinaets? Finally, how I then display them accordingly on web page with the country map.
Thanx in advance!
-Puran
puranonnet
|
|
|
|
|
The simplest method wouyuld probably be to hold the extents of the map, then a the lat / long of the places to be marked (or eastings / northings).
If you know the extents, then you should be able to work out the proportional position of the city, and thereby the screen X / Y you need
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi Rich,
Thanks for timely suggestion. It worked.
Thanks again
-Puran
puranonnet
|
|
|
|
|
Hi All,
I need a code for extracting the word file and Excel file in ASP.Net (Web Application) using C#. Plz do me that favour.
Regards,
Sandeep...
Hi, its Sandeep here working in a S/W company as a Quality member, I have also intrest in ASP.Net.
So consider me as a member of this group.
Thanks,
Sandeep...
|
|
|
|
|
sandeepraw wrote: I need a code f
Golden Advices of the Lord Chris[^]
There are a couple of ways you can use to work with the word/excel documents:
+ Use the automation[^]
+ Use the ADO.NET with the excel.
+ Use a third party component.
|
|
|
|
|
First of all the execl and work automation is bad because you have to manage the exe server and its ROT table
But, excel documents can be saved as xml files.
Carlos aguilar has a free c# excel assembly
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
I have searched everywhere for a solution for this.
I have a gridview that is bound to a datatable. The gridview has a footertemplate so i can add new records. The problem I have is when the pageloads the footer is not being displayed when there are no records.
Any help with this would be most appreciated.
|
|
|
|
|
If the datasource is empty, you may use the EmptyDataTemplate to add a new record.
|
|
|
|
|
hi,
I have an asp.net C# application .It contain on text box and one Browser... button.om click of this browser button it open another window and it should explore all the folder in a system.like "FolderBrowser" in windows application.
kamalnath
|
|
|
|
|
for this you have already been answered yesterday. Check this link:
http://www.4guysfromrolla.com/webtech/091201-1.shtml
and don't be impatient(posting the same question multiple time) because whenever somebody will get the free time they will answer your question.
Best Regards,
Apurva Kaushal
|
|
|
|
|
You'll also find that posting many times when you already have an answer does not make people want to help you...
|
|
|
|
|
hi,
Sorry for inconvenience. Still I didn’t get exact solution to my problem.
kamalnath
|
|
|
|
|
Then you might want to consider taking some of the feedback people have given you and re-wording the question...? Continually asking the same thing and hoping for some kind of dawning inspiration amongst the people here is not going to get you too far...
|
|
|
|
|
some times its not possible to give answer exactly wot you looking for but give you the idea and hint to solve your problem and then you have to use you own programming skills to come up with a solution....
sorry if you not getting wot you looking for...
Nav.
|
|
|
|
|
hi all
i have a problem in my asp.net page i want to add .exe file in my aspx page,this .exe file can convert the english date into Arabic date and this conversion application is a desktop application,now we i want to embed this application in my asp.net.how can i get the solution of my problem.
best regards
|
|
|
|
|
First of all, you cannot include an exe, but ofcourse you can execute.
You can pass your asp.net page variables as arguments to exe, also you can get return data from exe by writing it to some text file.
Here is simple code snippet in C#:
try
{
string yourArgs = "bla bla bla";
p.StartInfo.FileName = System.Web.HttpContext.Current.Server.MapPath("yourapplication.exe");
p.StartInfo.UseShellExecute = false;
p.StartInfo.WorkingDirectory = Path;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.StartInfo.Arguments = yourArgs;
p.EnableRaisingEvents = true;
p.Start();
p.WaitForExit();
p.Close();
p.Dispose();
}
catch (Exception exp)
{
}
Regards,
Ketan.
|
|
|
|
|
thnks
but kindly if u give me some vb.net code snippet to execute the .exe form my asp.net applicion,it would be very healthy for me ...
one more thing is that Can i give the path of my Install desktop application.
would you like u tell me that running .exe from this way will not harmfull from the application.
thnks
bestRegards
|
|
|
|
|
Hey, its not a big deal to convert this simple c# code to vb.net. Although, you can google for c# to vb.net converters and get the code converted.
You can mention your dekstop application path whatever it is.
nabeelkhan wrote: would you like u tell me that running .exe from this way will not harmfull from the application.
thnks
I think you are a new player thats why asking such questions.
Regards,
Ketan.
|
|
|
|
|
thnks ketan,
i will try and let u know
BestRegards
nab
|
|
|
|
|
I'm not going to answer your question, but maybe you will find my post usefull anyway
I realy wonder, why you want to execute desktop application from web application (that is quite weird) to convert dates from one calender to another, if .NET can do it for you as well.
Check good example here on codeproject:
http://www.codeproject.com/cs/samples/hijrigregorianclass.asp
I hope it helps, it is much better solution for your problem, I think.
Pilo
|
|
|
|
|
|
Hi,
Is it possible to auto-deploy webpages to multiple sites/servers at a time using visual studio .Net 2003?
Or is there any another tool using which we can create a setup which allows to deploy web pages to multiple sites?
Anyone having any idea on it. Please update.
HV
|
|
|
|
|
Although InstallShield is much better
I have used to setup and deplay to delpoy multiple suites in one shot
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
hello
i have 10 rows in a listbox
i selected 2 rows
how to get the selected values from a checked listbox
code will be helpful
Thanks
|
|
|
|
|
You can iterate through all the items in the listbox and if the item is selected the get the values of them.
Best Regards,
Apurva Kaushal
|
|
|
|