Tag Archives: apppath

Get the Application Path WITHOUT the Filename in VB.NET and Higher

This will get you your applications file path but without the filename included. This works for all VB.NETs including VB 2005, 2008, and Visual Basic 2010.

        Dim appPath As String

        appPath = System.Windows.Forms.Application.StartupPath

        MessageBox.Show(appPath)