473,387 Members | 1,724 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,387 software developers and data experts.

Problems with Build

I am typing in an example from a book and I get this error when building:

'Sub Main' was not found in 'LoanCalculator.Form1'.

I've never had this problem before but it has been a little while since I
loaded my Visual Basic .Net
What is causing this?

Thanks,
Brian
Nov 21 '05 #1
2 901

Jan. 12, 2005

Did the example have you change the Name property of Form1? If so then
goto the Solution Explorer and right click on your project. Then click on
"Properties". Then make sure that the selection in the listbox on the left
hand side of the screen is set to "Configuration Properties"(the wording
might be a little different) --> "General". Then find the "Startup object:"
property and set that to the form you want to be loaded when you run the
program. This should solve your question and have a great day! :)
Joseph MCAD
"Brian" wrote:
I am typing in an example from a book and I get this error when building:

'Sub Main' was not found in 'LoanCalculator.Form1'.

I've never had this problem before but it has been a little while since I
loaded my Visual Basic .Net
What is causing this?

Thanks,
Brian

Nov 21 '05 #2
Thanks guy..that did it..guess I AM pretty rusty..;)

"Joseph MCAD" <Jo********@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com...

Jan. 12, 2005

Did the example have you change the Name property of Form1? If so
then
goto the Solution Explorer and right click on your project. Then click on
"Properties". Then make sure that the selection in the listbox on the left
hand side of the screen is set to "Configuration Properties"(the wording
might be a little different) --> "General". Then find the "Startup
object:"
property and set that to the form you want to be loaded when you run the
program. This should solve your question and have a great day! :)
Joseph MCAD
"Brian" wrote:
I am typing in an example from a book and I get this error when building:

'Sub Main' was not found in 'LoanCalculator.Form1'.

I've never had this problem before but it has been a little while since I
loaded my Visual Basic .Net
What is causing this?

Thanks,
Brian

Nov 21 '05 #3

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

Similar topics

2
by: Justin Lemkul | last post by:
Hello all, I am hoping someone out there will be able to help me. I am trying to install a program that utilizes NumPy. In installing NumPy, I realized that I was lacking Atlas. I ran into...
15
by: cody | last post by:
We have a huge project, the solutuion spans 50 projects growing. Everytime I want to start the project I have to wait nearly over 1 minute for the compiler to complete building. This is...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
2
by: Felix | last post by:
Out of no where I'm starting to get these problems and my Deployment projects won't build anymore. Does anyone have any idea what's causing this? I've tried copying these files from another...
0
by: Richard Taylor | last post by:
User-Agent: OSXnews 2.07 Xref: number1.nntp.dca.giganews.com comp.lang.python:437315 Hi I am trying to use py2app (http://undefined.org/python/) to package a gnome-python application...
1
by: samariton | last post by:
Recently I have seen one of our product being sent to feild in DEBUG build.I waited for next S/W distribution date and sent across release build after quite a bit of testing.But I have learnt...
12
by: David Murmann | last post by:
hi all! i just built revision 41809 under winxp using a rather uncommon setup (at least i think so). since i have no visual studio here, i only used freely available tools: cygwin to get the...
9
by: Brett Romero | last post by:
I have an EXE project with four project dependencies (DLLs). I need to set the order of these builds. However they are automatically ordered by alpha. There aren't any settings to change this. ...
1
by: J. Jeffrey Close | last post by:
Hi all, I have been trying for some time to build Python 2.4.x from source on OS X 10.4.6. I've found *numerous* postings on various mailing lists and web pages documenting the apparently...
1
by: F. | last post by:
Hello, I have problems making python on CentOS 5. Seems that can not find something. I can not find the problem. Where is the problem?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.