Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of Server.MapPath()
Message
From
28/12/2004 23:31:56
 
 
To
28/12/2004 23:19:49
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00972793
Message ID:
00972795
Views:
15
>I had the following for a Web Service to detect the current directory:
>
>
>        Private cStartupDirectory As String = Server.MapPath("")
>
>
>What would be modified so it would work for a desktop application?

Ok, I found:
lcStartupDirectory=Application.StartupPath+"\"
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform