Post: Visual Basic Need Help Please Read!!
06-27-2011, 09:48 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); In Visual Basic i wanna make my Program Execute a command Prompt execution But it gives me errors this is the code i use
Shell("CMD.exe")
SendKeys.Send("COMMAND GOES HERE")
SendKeys.Send("{ENTER}")
Please Help thanks
(adsbygoogle = window.adsbygoogle || []).push({});
06-27-2011, 07:00 PM #2
<Jimbo>
</Jimbo>
I'm not great with Visual Basic, but would:
    sendkeys.send(" THE COMMAND {ENTER} ")

That seems to be a better way to execute that code...

Originally posted by CODSTREAM View Post
In Visual Basic i wanna make my Program Execute a command Prompt execution But it gives me errors this is the code i use
Shell("CMD.exe")
SendKeys.Send("COMMAND GOES HERE")
SendKeys.Send("{ENTER}")
Please Help thanks

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo