Return System.AppDomain.CurrentDomain.BaseDirectory()
End Function
Public Function App_Path() As String
App_Path = CStr(Nothing)
App_Path = System.Reflection.Assembly.GetExecutingAssembly.GetName().CodeBase
If StrComp(LCase(Left(App_Path, 8)), "file:///") = 0 Then
App_Path = Mid(App_Path, 9) 'file:/// entsorgen
End If
End Function
|
暂时没有评论
发表评论 - 不要忘了输入验证码哦! |