SyntaxFix
Write A Post
Hire A Developer
Questions
In a Windows Forms project:
For the full path (filename included): string exePath = Application.ExecutablePath; For the path only: string appPath = Application.StartupPath;
string exePath = Application.ExecutablePath;
string appPath = Application.StartupPath;