in VB
If App.PrevInstance then
'exit as app is already running
HTH
Matt
----- Original Message -----
From: "Williams, Sean" <swilliams@g...>
To: "professional vb" <pro_vb@p...>
Sent: Tuesday, October 29, 2002 7:38 AM
Subject: [pro_vb] RE: API constants
>
> Morning,
>
> I have what is probably very simple for someone or already exists.
>
>
> How can you check if your program is already running i.e. showing in the
> Applications or Processes part of Task manager ?
>
> Regards
> Sean
>
>
>
>
> ---
> Visual C# - A Guide for VB6 Developers
> This book will make it easy to transfer your skills
> from Visual Basic 6 to C#, the language of choice
> of the .NET Framework.
> http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
>
>