Results 1 to 2 of 2

Thread: Check if external program is finished

  1. #1

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435

    Check if external program is finished

    How do i check when an externally run program is finished? I have a button menu which launches programs, I want the button menu to disappear after an external program is selected, then reappear when that external program is closed.

    Thanks.
    Last edited by RealNickyDude; Jun 16th, 2003 at 05:44 AM.
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  2. #2

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    I though I resolved it with:
    VB Code:
    1. System.Diagnostics.Process.Start(<[i]external prog here[/i]>).WaitForExit()
    but after a short while, the menu pops back up in front of the external program it's running, does anyone know why? or how to properly check if a program's ended?
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

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