Get the Application Path with the Filename using VB.NET and Higher


Shows how to use Visual Basic.NET to get the application programs file path and filename, the actual executable path.

        Dim appPathFilename As String

        appPathFilename = System.Windows.Forms.Application.ExecutablePath

        MessageBox.Show(appPathFilename)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.