|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Studio beginner questionsI 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. . <ericwa***@yahoo.com> wrote in message
news:1156802689.523726.299820@i3g2000cwc.googlegroups.com... Which book? It's not a VB5/6 related book, is it? If so, it's firewood as > method can't be found. So the book is wrong? > far as dotNet is concerned. -- Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com Please keep all discussions in the groups.. In Loving Memory - http://www.vbsight.com/Remembrance.htm Hello ericwa***@yahoo.com,
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 Show quoteHide quote > 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. . > 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 <ericwa***@yahoo.com> wrote in message Show quoteHide quote news:1156802689.523726.299820@i3g2000cwc.googlegroups.com... >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. . >
Timer driving me nuts
OK, new registry question validating textbox Resource and Time consuming stuff vfp oledbcommand [Fail] How do I add a c++ library to my vb.net project? Virtual desktop makes .NET modal dialog panels disappear looking for tree/outline control that allows in-place editing AND will expand as I type Looping through data adapter Jet error message when trying to create a DS from Excel |
|||||||||||||||||||||||