Hey geeks.
Since last two days I have been doing research, research & research ... hey wait I have not invented any thing just get a way to do System.Reflection. I am using asp.net 2.0 as front end thats why I used TreeView Control. I am sure that there is no sytax in this code which does not supported by .net 1.1 but still I recommend user to go with asp.net 2.0.

So here we go with the code.

Try

' Loading the assembly
Dim ObjAssembly As Assembly = Assembly.LoadFrom(“MyAssembly.dll“)

' getting the types of assembly .... means every thing of assembly now is in Objtype()
Dim
ObjType() As Type = ObjAssembly.GetTypes()

Dim a As Integer = 0

' Keeping ObjType in a loop and start reading all the types of assembly
For Each t As Type In ObjType

' Adding Assembly in tree view
TreeView1.Nodes.Add(
New TreeNode(t.FullName, 1))

' Getting all the constructors.
Dim CtrInfo() As ConstructorInfo = t.GetConstructors()
TreeView1.Nodes(a).ChildNodes.Add(
New TreeNode("Constructor", 2))
' Adding all the constructor in TreeView 
For Each c As ConstructorInfo In CtrInfo
TreeView1.Nodes(a).ChildNodes(0).ChildNodes.Add(New TreeNode(c.ToString(), 3))
Next
' Getting all the properties 
Dim PiInfo() As PropertyInfo = t.GetProperties()
TreeView1.Nodes(a).ChildNodes.Add(
New TreeNode("Properties", 4))
' Adding all the properties in TreeView
For Each p As PropertyInfo In PiInfo
TreeView1.Nodes(a).ChildNodes(1).ChildNodes.Add(
New TreeNode(p.ToString, 5))
Next
' Getting all the methods.
Dim MInfo() As MethodInfo = t.GetMethods()
TreeView1.Nodes(a).ChildNodes.Add(
New TreeNode("Methods", 2))
' Adding all the method in TreeView
For Each m As MethodInfo In MInfo
TreeView1.Nodes(a).ChildNodes(2).ChildNodes.Add(
New TreeNode(m.ToString, 3))
Next
' Getting all the Event.
Dim EInfo() As EventInfo = t.GetEvents()
TreeView1.Nodes(a).ChildNodes.Add(
New TreeNode("Events", 2))
' Adding all the Event in TreeView
For Each ev As EventInfo In EInfo
TreeView1.Nodes(a).ChildNodes(3).ChildNodes.Add(New TreeNode(ev.ToString, 3))
Next
' moving the pointer
a = a + 1

Next

Catch ex As Exception
' if cought any error just say that the assembly is not valid (my logic)
Response.Write(
"Invalid Assembly")

End Try

Soo much easy. Following is the out in the tree view of asp.net 2.0 everything of that specific assembly comes in our hand.

Output :