Imports System.ReflectionPublic Class Form1....Private Sub FindPathOfExe()Dim appPath as String'Method 1appPath = Application.ExecutablePathDebug.Print "Application path: " & appPath'Method 2appPath = System.Reflection.Assembly.GetExecutingAssembly().LocationDebug.Print "Application path: " & appPathEnd SubEnd Class