-
Sorry if this is a stupid question .. I'm new to the VB world.
I need to call an old DOS app from within my VB application.
I can launch it fine but I also need it to run in separata memory cos it's such an unstable application.
Can anyone please tell me how I can launch an application from within a VB app so that it runs in separate memory space.
Cheers
Vebble
-
The Shell command will start an app in it's own process and VM space. If it crashes your vb app will be fine (Unless it brings the whole OS down with it - in which case it's not the fault of your VB app)
:D
-
Cheers buddy ..
One other question please .. when I launch the app useing shell it runs fine .. the only problem is that if I then launch another dos app it runs in the same shell .. how do I get around this .. ??
Thanks in advance
Vebble
-
No, it should also run in a separate process. VB doesn't wait for the first app to end before starting the next one (you need to use the API if you want VB to wait)
-
Thankyou for your help.
Vebble