factory909 Posted June 11, 2009 Share Posted June 11, 2009 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 More sharing options...
Noise Posted June 11, 2009 Share Posted June 11, 2009 You can use the tasklist command in windows to check if the program is already running. A simple batch file would be really easy to do. Link to comment Share on other sites More sharing options...
gunsmokingman Posted June 11, 2009 Share Posted June 11, 2009 Try this Link to see if there are any scripts that might help you. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now