Jump to content

Using VBScript to only allow one instance of a program


Recommended Posts

Hi! I am very new VBscript, and I was wondering if it could help me out here.

What I got is, 17-18 Kiosks that a user clicks on an icon and it loads of a program so the user can chart on patients. What I am having problems with is the employees don';t understand computers, and don't think to check the taskbar for the program to see if its already running, so therefore they are clicking on the icon again and loading another instance of the program. So every 2-3 days someone complains that the computer is slow, and I go down to check it out, and their are 10-15 instance of same program running and it has ate all of my system resources up, I close them all down, and its back to normal.

Can I make a script that the user clicks on and launches the program, but only allows 1 instance of the program to run, or maybe 2 at the most?

Thanks

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...