When I run this, command window shows up and lngErr = 42
lngErr = ShellExecute(0, "runas", "cmd.exe", "", "", 3)
But when I run this, nothing happend and lngErr = 2
lngErr = ShellExecute(0, "runas", "compmgmt", "", "", 3)
Any suggustion? Thanks
When I run this, command window shows up and lngErr = 42
lngErr = ShellExecute(0, "runas", "cmd.exe", "", "", 3)
But when I run this, nothing happend and lngErr = 2
lngErr = ShellExecute(0, "runas", "compmgmt", "", "", 3)
Any suggustion? Thanks