Name

Application.ExecutablePath Property

Class

System.Windows.Forms.Application

Syntax

Application.ExecutablePath(  )

Return Value

A String containing the complete path of the executable file for the application

Description

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

VB.NET/VB 6 Differences

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

Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.