Get the path to your VB or C# .NET application

Get the path to your VB or C# .NET application

瀏覽:1304
日期:2025-11-21
string aPath1 = Application.ExecutablePath; string aPath2 = Application.StartupPath; You can also use the System.Reflection namespace to get the properties of your Assembly. Try this VB.NET code: Dim aPath As String Dim aName As ......看更多