How would I open a file with parameters?
This close?
VB Code:
Private Sub cmdClick() open "sc.exe stop wzcsvc" ?????????
the question marks resemble where i'm stuck. Could anyone please help?
Printable View
How would I open a file with parameters?
This close?
VB Code:
Private Sub cmdClick() open "sc.exe stop wzcsvc" ?????????
the question marks resemble where i'm stuck. Could anyone please help?
Try this.
http://www.vbforums.com/showthread.p...ighlight=shell
In the forum, do a search on Shell for bucket loads of code.
Use Shell; Type the parameters after the EXE
Code:Shell "MyFile.exe parameters"