Re: already running
- From: "Dave O." <nobody@xxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 09:44:42 +0100
It depends how critical it is to have a single instance and how devious your
users are.
App.PrevInstance can be fooled by making a copy of the executable and
renaming it.
If you need to avoid that possibility research on MUTEX, however if it is
not a potential problem then App.PrevInstance will be adequate.
Regards
Dave O.
"Robert" <Robert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7BAC1343-82F3-4F2E-BD17-5E7FFF6EEE0D@xxxxxxxxxxxxxxxx
I have a vb 6 program that is on a network folder. Everybody as a shortcut
on
his or her desktop to run my software. I would like them not to open the
same
program two times or more at the same time. How can't I know if the
software
is already running when they click on the shortcut?
Thanks
.
- Follow-Ups:
- Re: already running
- From: Ralph
- Re: already running
- Prev by Date: Re: TImer question
- Next by Date: Re: dhSQLite IFunction
- Previous by thread: Re: already running
- Next by thread: Re: already running
- Index(es):