Using shell to open programs

troywg
02-04-2004, 07:03 PM
Hopefully this is an easy question. I'm using shell to open programs from individual buttons right now. Can someone give me an example or some information on what I would have to do to make it automatically open up the next program in line once the prior one is done. I have a number of programs that need to be run one after another. I want it to wait until the previous one is done before running and then automatically run it.
Thanks,
Troy

Optikal
02-04-2004, 07:57 PM
Is this VB.Net?

troywg
02-04-2004, 08:36 PM
Is this VB.Net?
Yes it is.

Optikal
02-04-2004, 08:59 PM
specify True as the 3rd argument to Shell, this will cause it to wait until the program is done executing before continuing on to the next line of code.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum