Export (0) Print
Expand All

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
[C#]
public static string ExecutablePath {get;}
[C++]
public: __property static String* get_ExecutablePath();
[JScript]
public static function get ExecutablePath() : String;

Property Value

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

Requirements

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

Show:
© 2014 Microsoft