|
-
May 23rd, 2000, 03:41 PM
#1
Thread Starter
New Member
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
-
May 23rd, 2000, 03:50 PM
#2
Fanatic Member
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)

Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
May 23rd, 2000, 05:02 PM
#3
Thread Starter
New Member
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
-
May 23rd, 2000, 05:15 PM
#4
Fanatic Member
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)
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
May 23rd, 2000, 07:30 PM
#5
Thread Starter
New Member
Thankyou for your help.
Vebble
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
|