Application.StartupPath
Imports System.Windows.Forms Public Class Tester Public Shared Sub Main Console.WriteLine(Application.ExecutablePath) Console.WriteLine(Application.StartupPath) End Sub End Class