Herfried
Tue Feb 12 11:05:03 CST 2008
<zacks@construction-imaging.com> schrieb:
>That is only applicable if you have the "Enable Visual Styles"
>checkbox on. I don't know about you, but I prefer to configure VB.NET
>apps the same way C#.NET does by default, and have the startup object
>as SubMain, enable visual styles there manually and open the main form
>with an Application.Run call.
You could use 'System.Threading.Mutex' to prevent multiple instances:
FAQ for the microsoft.public.languages.csharp newsgroup
<URL:
http://www.yoda.arachsys.com/csharp/faq/#one.application.instance>
--
M S Herfried K. Wagner
M V P <URL:
http://dotnet.mvps.org/>
V B <URL:
http://dotnet.mvps.org/dotnet/faqs/>