VB.Net/Development/Application

Материал из VB Эксперт
Перейти к: навигация, поиск

Get Application Startup Path

Imports System
Imports System.Windows.Forms
Public Class MainClass
   Shared Sub Main()
       Console.WriteLine( Application.StartupPath )
   End Sub 
End Class


Get Executable Path

Imports System
Imports System.Windows.Forms
Public Class MainClass
    
    Shared Sub Main()
        Console.WriteLine(Application.ExecutablePath)
    End Sub
End Class