Making your WPF app single instance
If you’d like your WPF v3 application to be single instance, you need to do a little bit of work.
Just ran across Marek Istvanek’s post on the forum: Single instance application solution.
Wanting to add a little value more than just pointing to it, I decided to search for: "single instance" wpf
- MSDN has a WPF "Single Instance Detection Sample"
- Turns out, I’ve previously pointed at Single instance application, screen saver and power management disabling and battery meter
Perhaps when somebody needs to do this, they could look at these examples and add a comment comparing/contrasting the techniques…(if they are different).
[I found that the msdn sample didn’t come up in my live.com search…we’ll work on figuring out the issue there…]