Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))

Application.ExecutablePath Property

Class

System.Windows.Forms.Application

Syntax

Dim result As String = Application.ExecutablePath

Description

The ExecutablePath property returns the complete path of the executable file for the application. This is a read-only property.

Version Differences

  • The ExecutablePath property in the .NET Framework corresponds to the App.Path property in VB 6.

  • Visual Basic 2005 includes the My.Application.Info.DirectoryPath property and other members of the My.Application.Info object that provide similar information.

See Also

Application Class

Категории