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.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center