标签:com catch ros directory port shel use sof 运行
提升管理员权限貌似只能重新启动新进程来实现
Dim proc As New ProcessStartInfo proc.UseShellExecute = True proc.WorkingDirectory = Environment.CurrentDirectory proc.FileName = Application.ExecutablePath proc.Verb = "runas" Try Process.Start(proc) Catch End Try
http://support.microsoft.com/kb/981778
微软示例:https://code.msdn.microsoft.com/VBUACSelfElevation-39b7606f
标签:com catch ros directory port shel use sof 运行
原文地址:http://www.cnblogs.com/hironpan/p/6491066.html