View Complete source

genu

Well-known member
Joined
Jun 9, 2005
Messages
94
Programming Experience
1-3
How can I view the complete source in VS 2008? As in all the generated form code and the controls?
 
Sure, it's the form's .designer.vb file. In the solution explorer click the 'Show all files' button then expand the tree for the form and there you go. Keep in mind that any changes made in that file will be erased whenever you make a change in the designer too.
 
If you also want to have a look the internal code for the .Net controls and other classes try this tool: .NET Reflector, class browser, analyzer and decompiler for .NET This tool uses some magic to disassemble the compiled .Net Framework class libraries. Some people, like me, often find it interesting to see how these classes are really built. With it you can choose which language you want to see the code, including VB.Net.
 
Back
Top