Forcing a Single Instance of an WinForms App

  • Thread starter Thread starter Phil Jones
  • Start date Start date
P

Phil Jones

How would you go about ensuring only a single instance of a WinForms app
runs at any one time on a machine?
For example like Outlook Express - where each successive attempt to open it
brings the single running instance into focus.

Thanks everyone!
===
Phil
 
Back
Top