Hi Matthew,
Not sure if this would work, but try
Re: How to prevent the application running twice ? Thread #
1232152 Message #
1247990>I've been using Sergey's IsExeRunning() function for a while now and it's very handy. As of yesterday, I started deploying an app that uses it on a terminal server and I was surprised to find out that it actually searches all user sessions looking for the EXE running. Unfortunately in this instance, I need it work with respect to the user's session on a Terminal Server.
>
>Any ideas?
>
>Thanks.
>
>-m@
If it's not broken, fix it until it is.
My Blog