Unique Instance of a program per user on citrix

Posted on 2006-04-14
Last Modified: 2008-03-04

I am trying to find some code that checks to see if my C# program is already running if so switchs focus to the app, the tricky part is that its runs on a citrix terminal server.
So yes they may be multipul versions of the program running on the server but only one per user is allowed.  

I have code that check to see if the current process is running etc. (there are quite a few wxample on ee) but non of them check per user ..

Has any body done this ?


Question by:lambertm
    LVL 37

    Accepted Solution

    You can use a mutex to synchronize between ... includes a full example (and how to get it working so all users share the same instance if you so choose)


    LVL 1

    Author Comment

    Thanks for that

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now