I published an application on vb.net. Users will be able to install the application anywhere on the computer (or maybe not where they choose, but the default location is Where). How can I programmatically get the location where the user installs the application? In other words, I need the application to know where it is running. How do I detect it?
At runtime, you can use:
Application.StartupPath
I published an application on vb.net. Users will be able to install the application wherever they choose on the computer (or maybe not what they choose Anywhere, but where is the default location). How can I programmatically get the location where the user installs the application? In other words, I need the application to know where it is running. How do I detect it?
At runtime, you can use:
Application.StartupPath