in vb 2008 express this option is available under application properties. does anyone know what is its function? does it make it so that it's impossible to open two instances at the same time?
does it make it so that it's impossible to open two instances at the same time?
Yes.
Yes you're correct in that it will only allow one instance of your application to be open at a time.
Yes, it makes it impossible to open two instances at the same time.
However it's very important to be aware of the bugs. With some firewalls, it's impossible to open even one instance - your application crashes at startup! See this excellent article by Bill McCarthy for more details, and a technique for restricting your application to one instance. His technique for communicating the command-line argument from a second instance back to the first instance uses pipes in .NET 3.5.
I'm writing vb.net code with MS Visual Studio 2005.
When running my application I get "foo.exe is already running on this machine". (Even though I'm running faa.exe instead.)
Huh? How can that be?
No where in my faa.exe code does it say anything about "foo.exe". Or does it?