473,394 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Visual Studio beginner questions

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. .

Aug 28 '06 #1
3 900
<er*******@yahoo.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
method can't be found. So the book is wrong?
Which book? It's not a VB5/6 related book, is it? If so, it's firewood as
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
Aug 28 '06 #2
Hello er*******@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
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. .

Aug 28 '06 #3
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
<er*******@yahoo.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.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. .

Aug 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: angelag | last post by:
I am currently taking a college course in Visual Basic.Net and I am a beginner. I bought Visual Studio.Net 2003 to do my homework at home. I built my first project and e-mailed it to myself at...
1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
2
by: zatenay | last post by:
Hey, I'm a beginner with Visual Studio and C++, so I've the following problem : when I run a program with Debug-Start without debugging command, I can't see the output, so I have to run it...
0
by: Jeannette | last post by:
Hi! We currently use SQL Server 2000 Enterprise Edition and Visual Studio.NET 2003. Now, we are comparing the Crystal Reports for Visual Studio.NET 2003 with the SQL Server Reporting Services...
9
by: Trevor | last post by:
I am just learning c# and I have a book entitled "Programming c#" O'Reilly. It strongly recommends Visual .Net. Can anyone enlighten me on their experiences of SDK versus Visual ..Net?
5
by: Daniele | last post by:
Hi, how is it possible to create a project with a specific template, compile it and close it? All with a c# script. Thanks, Daniele
3
by: Andy Lim | last post by:
I'm currently working on my second web application using VS 2003/VB.NET, after moved from Dreamweaver MX. one thing that i missed so much in VS2003 is DWMX's great visual, WYSIWYG layout design,...
3
by: RS | last post by:
Hi all, My code compiles well with gcc on linux and OS X, but now I have to run it at work, and my only choice is Visual Studio .Net 2003 environment on windows, which I had never used before....
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.