Results 1 to 8 of 8

Thread: Pausing program while waiting for another to finish

  1. #1

    Thread Starter
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349

    Pausing program while waiting for another to finish

    Hi guys,
    I want to run another app from mine and i want my app to wait until the other has finished before doing anything else.

    Does anyone know how to do this?
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

  2. #2
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Er...

    Didn't you ask this before?
    I checked on VB Help and it is as you were using it in your code... And it comes from Windows 9x so I don't see why it wouldn't work in Windows 98.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  3. #3
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Talking

    Hey, I liked your other avatar better...
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  4. #4

    Thread Starter
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    I know the other code should have worked, but for some strange reason it doesn't on this one machine, so i thought i'd ask the question again with a clean slate to see if anyone new of a completely different approach to the problem
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

  5. #5
    Lively Member
    Join Date
    Mar 2002
    Location
    Land of the long white cloud
    Posts
    86
    Try this class
    Attached Files Attached Files

  6. #6

    Thread Starter
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    Thanx MuzzaD, it works almost perfectly. Just one minor little thing: How do i close the window of the application i just ran? On my XP machine, it closes automatically, but on a 2K machine, the window remained open.
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

  7. #7
    Lively Member
    Join Date
    Mar 2002
    Location
    Land of the long white cloud
    Posts
    86
    Not sure.

    With the application we are using, it closes it self automatically. We are using it on Win2k and WinNT.

  8. #8

    Thread Starter
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    Well,
    It closes itself automatically on my machine, but not on another, but its a crazy machine anyway. . Guess i'll work it out eventually. Thanx for the help on the pausing thing.
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

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