Visual Studio beginner questions

  • Thread starter Thread starter ericwan78
  • Start date Start date
E

ericwan78

I created a new form, added a label and a picture box. When I switched
to code view, it showed an empty class.

I thought the code should have a lot more content then an empty class.

=========

the book I am reading says that the module that contains the main
method can have its name changed to one different than the filename.
When I changed it and compiled, it showed an error saying the main
method can't be found. So the book is wrong?




please give me some guidance on the two questions. .
 
Hello (e-mail address removed),

If yer in 2003, the designer code is listed in a collapsable region near
the top of the class. In 2005 The form code is contained in a secondary
file (formname.designer.vb) and can be viewed by hitting the + next to the
form in Solution Explorer.

==

The module name can change.. though you may need to set it up again in the
project properties. For the mode part it is good practice to leave the module
name and the filename in sync.

-Boo
 
When asking for help Eric, it's helpful to include information about the
environment you are using VS 2003 or VS2005 etc. That will help others to
help you with your questions..

Regards,
Robert
 
Back
Top