Merchand
Well-known member
I know there is not a FormsCollection in VS2003. I'm wanting to create a method to return an ArrayList of all the loaded WinForms in a running Application. I know M$ says you can create your own collection or load OwnedForm collection using AddOwnedForm method.
However, I'm looking at creating a method that knows not a thing about an applicaition. I can list all of the running processes using the Process Namespace. I can't find anything showing how to list the actively loaded forms of an application.
Does anyone know how to get the loaded forms of a running application using Process, Reflections or anyother namespace?
Or, do I have to revert to a Windows API? If so does anyone know which APIs will help me out?
Thanks!!!
However, I'm looking at creating a method that knows not a thing about an applicaition. I can list all of the running processes using the Process Namespace. I can't find anything showing how to list the actively loaded forms of an application.
Does anyone know how to get the loaded forms of a running application using Process, Reflections or anyother namespace?
Or, do I have to revert to a Windows API? If so does anyone know which APIs will help me out?
Thanks!!!