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