I am very new to VB. In VBscript, I am able to run commands (regsvr32.exe /s /c ... regedit -s ... net stop... etc.) in a hidden cmd.exe window using WSH and creating a ("wscript.shell") object and passing whatever the command is to a little sub.

How can I run a program like cmd.exe in a hidden window and wait till it finishes execution to return to the VB app? (I need to stop services, register Dlls, and install registry keys.) Thanks.