Public Function GetPath() As String
Dim app As String
app = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase
Dim path As String
path = System.IO.Path.GetDirectoryName(app)
GetPath = path
End Function
No comments:
Post a Comment