Re: Opening an application twice

From: Jay (nospam_at_*here.com)
Date: 06/15/04


Date: Tue, 15 Jun 2004 22:05:56 +1200


"Hella" <anonymous@discussions.microsoft.com> wrote in message
news:1c82a01c452be$ab872080$a101280a@phx.gbl...
> How can I prevent users opening an appliction twice, for
> example an accounting program or similar application?

I don't know of any inherent XP way but one solution maybe to only allow
access to a given application via a "home made" shortcut.
The shortcut could be to a script which may check for an instance of the
application. Finding an instance would return a message box telling the user
(script then exits) otherwise it would go on to launch the application in
the normal way.
If you needed this for more than one application then you could create some
generic function, with each of the application's shortcuts passing the
application's name as a parameter.

Jay



Relevant Pages

  • Re: help writting script to copy file to every desktop
    ... Then it will ping each computer to see if it is truly reachable. ... Here is a sample script that I use. ... Each shortcut is only 1KB each, so the extra replication traffic is nothing. ... You will get different methods, collections, and properties for a file than you will for a folder. ...
    (microsoft.public.scripting.vbscript)
  • Re: Findout shortcut from which script was launched ?
    ... apply the script to selected files. ... &Cmd window in this directory ... Context Cmd window.lnk shortcut has the following properties set: ... and when selecting a file or several, selecting Send To the script in the ...
    (microsoft.public.scripting.vbscript)
  • Re: help writting script to copy file to every desktop
    ... I added the script to the policy assigned to the OU. ... Each shortcut is only 1KB each, so the extra replication traffic is nothing. ... You will get different methods, collections, and properties for a file than you will for a folder. ... ' Create a collection of files in the folder object ...
    (microsoft.public.scripting.vbscript)
  • Re: Shortcut on desktop via logon?
    ... I've been asked to distribute a shortcut to a web site to all my users. ... From this line I get no response in my batch file output. ... the script will be unable to succeed as the logon ... the workstations while logged in to an account that is an admin on all ...
    (microsoft.public.windows.server.scripting)
  • Re: help writting script to copy file to every desktop
    ... Here is a sample script that I use. ... You should be able to limit the scope of the copy by creating multiple versions of this script and assign them to the group policy assigned to each AD site. ... Each shortcut is only 1KB each, so the extra replication traffic is nothing. ... You will get different methods, collections, and properties for a file than you will for a folder. ...
    (microsoft.public.scripting.vbscript)