This documentation is archived and is not being maintained.

Application.ExecutablePath Property

Gets the path for the executable file that started the application, including the executable name.

[Visual Basic]
Public Shared ReadOnly Property ExecutablePath As String
public static string ExecutablePath {get;}
public: __property static String* get_ExecutablePath();
public static function get ExecutablePath() : String;

Property Value

The path and executable name for the executable file that started the application.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

Application Class | Application Members | System.Windows.Forms Namespace