Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW TO CLOSE MS DOS PROMPT IN VB

Status
Not open for further replies.

bros

Programmer
Jul 14, 2000
57
MY
AFTER I USE SHEEL COMMAND TO CALL A DOS PROMPT, CAN I CLOSE THE DOS PROMPT IN VB??????
 
Hi,
Try this
Run as String
Run = Shell("c:\Program",0)

Its the ,o that close the dos prompt you can have ,1 ,2 i think which gives different states for the dos window
Hope this helps

Duf
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top