Creating Types from running assemblies.
Say I have a Windows application called "MyExe" which contains a form, "MyForm".
If I wish to create an instance of that form I can use System.Activator.CreateInstanceFrom("MyExe.exe","MyExe.MyForm")
or any of the other methods which are available to create types.
However, if I have MyExe running at the time the type is created, is there
any way I can ensure that the running assembly is used. I have tried numerous
things but each one results in another instance of MyExe being created.
Any help would be appreciated.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL