I have two problems with my ClickOnce VB.Net application:
- Is there a way that one can specify a default location where the application should install
- How do I get the path to location of the applocation once it is installed on a clients pc
The problem is that my program reference some compiled help files and an access database and need to keep track of where these files will be located once installed.
I am using Visual Studio 2005 to publish the app.

Adding files to ClickOnce VB.Net application
csalsa
Application.StartupPath returns a string containing the full folder path the exe file.
ex : C:\Program Files\<Yout Application Folder>
Lo&#38;&#35;239&#59;c Baumann
where i should put "Application.StartupPath"
what is the full code
many thx
hunb
pmak
you mean i can hard code the application path
if so, which form i should put web.config or form1
and what is the coding
many thx
hunb
CodeDjinn
you can the application path as
Application.StartupPath
OSPACS
learnerplates