Single Instance Application, Passing Command Line Arguments
Posted: 15 Aug 2006
Updated: 15 Aug 2006
Views: 73,004
Rating: 4.50/5
Votes: 11
Popularity: 4.69
Licence: Not specified
Bookmarked: 38
Downloaded: 480
This article shows how to make sure that only one instance of an application will run, and if a second instance is started, it will call a callback function in the first instance, passing its command line arguments. The solution uses .NET Remoting for the callback.