|
-
Oct 10th, 2000, 10:07 AM
#1
Thread Starter
Hyperactive Member
Hey!
How can I know when a Ms-DOS Application launch in by the shell command is done? In this example, I want the program PURGE accomplich is job then the will complete the FOR...NEXT instructions.
Ex:
[CODE]
Private sub CmdOk_Click()
for i = 0 to list1.listcount - 1
cmd$ = "PURGE /DATA "+chr$(34)+list1.list(i)+chr$(34)
shell cmd, vbhide
next i
msgbox "Done.", vbinformations
end sub
------------
ICQ: 65287451
E-MAIL: [email protected]
Homepage: http://www.sx3k.le-site.net
AIM: MBR5520
Running VB5 Enterprise Edition Service Pack 2
------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|