Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Run ShellExecute

$
0
0

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


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>