How can I get the absolute path of program I'm running?
For that you can use the Application object.
Application
Startup path, just the folder, use Application.StartupPath()
Dim appPath As String = Application.StartupPath()
Full .exe path, including the program.exe name on the end:, use Application.ExecutablePath()
Dim exePath As String = Application.ExecutablePath()
2.1m questions
2.1m answers
60 comments
57.0k users