Hi
I have to create a small tool (a Windows form application) that will :
1. open an assembly containing ASP.Net web forms
2. list the Web Forms in it
3. list the controls in the form (recursively if the control is a container)
I have already made a tool like this for Windows forms application.
Using Reflection, I have been able to open the assembly and list the Web Forms it contains.
I am now jammed on the last topic (listing controls of the selected web form). I cannot use
Activator.CreateInstance(tType) like I did with my Windows version of that tool because most classes are abstract.
Any one can help on this. An example in VB.Net would be the best but C# would be OK too.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com