' Return the application's path.' Note: it also works with add-ins's dll, whereas Application.StartupPath ' returns' Visual Studio .NET's startup path instead' Example: MessageBox.Show(GetApplicationPath())Function GetApplicationPath() As String Return System.IO.Path.GetDirectoryName _ (System.Reflection.Assembly.GetExecutingAssembly().Location())End Function
![VP Climate](https://www.devx.com/wp-content/uploads/VP-Climate-300x171.jpg)
![VP Climate](https://www.devx.com/wp-content/uploads/VP-Climate-300x171.jpg)