Results 1 to 5 of 5

Thread: Launching applications in separata memory

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    3

    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

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    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!)

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    3
    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

  4. #4
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    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!)

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    3
    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
  •  



Click Here to Expand Forum to Full Width