Running a single instance of Winforms App

Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
burtcbl
Posts: 24
Joined: Tue Aug 04, 2009 6:06 am

Running a single instance of Winforms App

Post by burtcbl » Wed Jul 25, 2012 3:57 am

I have written a Winforms application using Powershell Studio and I would like to know the proper way to prevent the application from running multiple instances.

User avatar
burtcbl
Posts: 24
Joined: Tue Aug 04, 2009 6:06 am

Running a single instance of Winforms App

Post by burtcbl » Wed Jul 25, 2012 3:57 am

I have written a Winforms application using Powershell Studio and I would like to know the proper way to prevent the application from running multiple instances.

Locked