Application path
C#
2
Posts
2
Posters
0
Views
1
Watching
-
in development environment of .net, when design mode, Application.StartPath is the path of development environment, but run the application the path is program's path. I want to get the path what it is always the application the path is program's path. How to do it?
-
in development environment of .net, when design mode, Application.StartPath is the path of development environment, but run the application the path is program's path. I want to get the path what it is always the application the path is program's path. How to do it?
When you're in design mode, there is no program to have a path, the IDE is actually running your code. Christian Graus - Microsoft MVP - C++