"Nick C" <be****@gmail.comwrote in
news:uE**************@TK2MSFTNGP03.phx.gbl:
Hi
I would like to implement a singleton in vb.net. The application only
can be run by one user at the time. Does anyone have any
articles/samples that can help me with this problem? thanks
Are you using VS.NET 2005? VS.NET 2005 Windows Form projects have the
ability to specify single instance or not.
Either way, take a look at using a Mutex. A mutex is a system wide
synchronization object - thus you can use it to check if there is a prior
instance of the object running.