Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Serbia and Montenegro (Yugoslavia)
    Thanked 0 Times in 0 Posts

    Determine if exe is running in memory (VB6)

    I have a formless vb app running from a command line that spawns multiple sessions of an executable. When I go into the server's task manager I can see all instances of my executables running (cscript.exe if anyone cares). I need to be able to programmatically determine when all those exe instances are no longer running and then run another process to delete several files off the server. Is there an API or something that can do this? My thought is to write a DO loop that will keep looping while any one of these executables is still running to hold the executing the next lines of code which will do the delete process.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 93 Times in 89 Posts

    Re: Determine if exe is running in memory (VB6)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts