Results 1 to 2 of 2

Thread: Other applications open

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    2
    I have a need to be able to see if other Microsoft applications are open when my application is open. Does anyone know how I would check for other open applications. I have users that want to open every program they have and I need to be able to launch a procedure to nofity users to shut down other applications or close my application programatically.

    Anyone know how I can do this?

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    If you know what programs you are looking for you could use something like this;

    On Error Goto NotRunning
    AppActivate "Microsoft Word"
    Msgbox "Word is Running - Close it now!"
    NotRunning:
    On Error Goto 0

    ..continue with the program.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

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