VB.Net/Development/Application
Версия от 16:40, 26 мая 2010; (обсуждение)
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