Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to prevent multiple application instance launching?

Status
Not open for further replies.

Bruno123

Technical User
Mar 8, 2006
5
GB
Does anyone know how to stop a user from opening an application more than once?
I have a user who opened up to 26 instances of outlook 2003!
I'm not very good at writing script but if someone knows how to do this, please help.
 
And then said user calls you claiming that their PC is "broken"...but its down to the fact that they feel it necessary to click REPEATEDLY instread of just once....

Happens where i work every day so this would help me too!!

'When all else fails.......read the manual'
 
Gents,

This is definetley something that should be addressed at the code level. MS are you listening???? as a switch or??

They have addressed it in "Outlook Express"......

But for now you can try this VBScript located at:
(read commeents & be familiar with VBS)


Hope this helps

rvnguy
"I know everything..I just can't remember it all
 
Thanks rvnguy for that. I'm going to check it out.
 
That looks very useful...but how do I use it?

Do i need to put it in the outlook directory?

'When all else fails.......read the manual'
 
I have this message from Van, the director of Information Technology.

'Actually, I didn’t write the original article. I posted a follow-up message to the original article because I couldn’t get the script to work reliably.
The problem is that if the user tries to load two copies of a particular program quickly (i.e. he/she double-clicks on a shortcut in the Quick Launch bar, instead of using a single-click) multiple copies of the program will still load. Also, the script slows down the loading of the program significantly. Therefore, I ended up removing it from our system here altogether'.

Cyberspace, we're still stuck I'm afraid.
 
Markdmac is the resident wizard on these issues....

Maybe he will see this????

rvnguy
"I know everything..I just can't remember it all
 
Can you do anything with the "Double-click" settings in the Mouse Properties?

Double-click Speed.

"Adjusts the amount of time that can pass between clicks when you double-click your primary mouse button. If you are an inexperienced mouse user, double-clicking may be easier if you drag the slider toward Slow. You can test the double-click speed by double-clicking the image in Test area."



"Double-click here to test the double-click speed of your primary button. If the folder opens or closes, the double-click was recognized."

 
That looks very useful...but how do I use it?

Do i need to put it in the outlook directory?
'When all else fails.......read the manual'

Kinda funny that your quote says "When all else fails.... read the manual"... since the instructions were right there on the screen where you download the script. ;)

You change the shortcut to:

wscript chkprocess.vbs app.exe c:\appfolder\app.exe where
app.exe is the application you're launching... (i.e. outlook.exe) and c:\appfolder\app.exe is the full path to the executable... make sure that chkprocess.vbs is in your path.



Just my 2¢

"In order to start solving a problem, one must first identify its owner." --Me
--Greg
 
I could not find that line in the script that's what confused me lol!

Oh well, doesn't sound so rosy after all...seems we are indeed stuck, for now!

'When all else fails.......read the manual'
 
If you are still following this...

I ran across this but do not know exactly how to implement it.

You might be more versed in this area and know how to invoke it.
UNK said:
use the /recycle command line parameter to prevent outlook opening another instance of outlook. You can remove this if it is already there to allow multiple instances

rvnguy
"I know everything..I just can't remember it all
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top