📜  Application.ExecutablePath VB.NET - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:56.107000             🧑  作者: Mango

代码示例1
For that you can use the Application object.

Startup path, just the folder, use Application.StartupPath()

Dim appPath As String = Application.StartupPath()
Full .exe path, including the program.exe name on the end:, use Application.ExecutablePath()

Dim exePath As String = Application.ExecutablePath()