Results 1 to 16 of 16

Thread: Find previous instance (not App.PrevInstance)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member brenaaro's Avatar
    Join Date
    Sep 2001
    Location
    Montreal, Canada
    Posts
    391

    Find previous instance (not App.PrevInstance)

    How can my application know if there are any previous instances of this application running, and know when they have terminated.

    I want my program to be able to sit and wait until any previous instance of itself has terminated, before displaying a form. So App.PrevInstance is no good because it does not refresh.

    The title of the windows in this application will not be constant, the only thing I will know for sure is the path to, and name of the .exe file.

    So basically;

    Are there some API's I can use to determine if windows is running any instances of an executable, that's not the current instance..

    Thanks
    Last edited by brenaaro; Sep 19th, 2002 at 02:01 PM.
    And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.

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