Hi all,
VB6. SP5.
I have a situation where users want to load two or three versions of
the same app at the same time so that they don't have to search for
certain stuff without leaving the place they are working in.
How can I check to see if there is already an instance of my app
running on the local machine to prevent another instance starting ?
Much obliged for an answer here..
JimInDurban
Jan Hyde - 26 Nov 2004 14:48 GMT
only@here.co.za's wild thoughts were released on Fri, 26 Nov
2004 16:16:06 +0200 bearing the following fruit:
>Hi all,
>
[quoted text clipped - 8 lines]
>
>Much obliged for an answer here..
app.PrevInstance
Jan Hyde (VB MVP)

Signature
"I'm no longer invisible" said Tom Insightfully
(Jan Hyde)
[Abolish the TV License - http://www.tvlicensing.biz/]
Randy Birch - 27 Nov 2004 00:42 GMT
Isn't you question the exact opposite of what the users are asking
for???????

Signature
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
: Hi all,
:
[quoted text clipped - 10 lines]
:
: JimInDurban
David Pendrey - 29 Nov 2004 08:03 GMT
I don't know if it's in VB6, but the easiest way in VB4 would be to test to
see if
App.PrevInstance
is true or false. If its true then the app is already running someplace
else.
> Hi all,
>
[quoted text clipped - 10 lines]
>
> JimInDurban