Roland,
To determine if a form is already running, you will need to manually determine that. Create a collection class (like a Form Manager) to manage all your forms that are instantiated. When you create a new form, then add it to the collection. In the Closing event of the form, remove the form from the collection. You can then iterate through the collection to see if a particular form is already instantiated.
>Hi,
>
>What is the coding to determine if a compiled (Built project) is already running so that the user cannot have more than one copy running.
>
>
>Also what would the coding be to determine if a winform is already running that that the user cannot open two windows of the same form?
>
>
>Thanks
>Roland
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi