Have you ever thought of using the WindowsFormsApplicationBase class (available in Microsoft.VisualBasic.dll) in a C# solution to implement a Single Instance application?
Actually, there are a number of ways to write Single Instance applications, such as Mutexes, Processes and so on and so forth. However, the WindowsFormsApplicationBase class provides a very elegant way to achieve the same result.
Click here, here and here for some cool examples and as such, I don't need to write any sample code and/or demo here ;-)
Actually, there are a number of ways to write Single Instance applications, such as Mutexes, Processes and so on and so forth. However, the WindowsFormsApplicationBase class provides a very elegant way to achieve the same result.
Click here, here and here for some cool examples and as such, I don't need to write any sample code and/or demo here ;-)
0 comments:
Post a Comment