Dim startInfo As New ProcessStartInfo() Dim myprocess As New Process() startInfo.FileName = "C:\test.exe" startInfo.Verb = "runas" startInfo.Arguments = "/env /user:" + "Administrator" + " cmd" myprocess.StartInfo = startInfo myprocess.Start()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)