Click to See Complete Forum and Search --> : Weird error when buliding project...
Fat_N_Furry
Oct 16th, 2002, 11:36 AM
What does this error mean?
'Sub Main' was not found in 'Assignment_Projector.Form1'.
Thanks for your time.
Furry
thithimos
Oct 16th, 2002, 11:51 AM
Happens when there is not Sub Main entry point to your program. You should be given a dialog to set your form or whatever as the start-up object the first time this occurs. You won't be receiving this error after this action.
You can also go into Project, Properties and set it before you start building.
Fat_N_Furry
Oct 16th, 2002, 12:00 PM
Thanks for your response.
I didn't see a properties option under the project menu. :confused: This is what you're talking about right?
Edneeis
Oct 16th, 2002, 12:16 PM
It looks like this, make sure you select the project not the solution:
http://www.vbforums.com/attachment.php?s=&postid=1221126
Edneeis
Oct 16th, 2002, 12:18 PM
From there it takes you to the '[ProjectName] Property Pages' dialog and the startup object is choosen there:
http://www.vbforums.com/attachment.php?s=&postid=1221129
Fat_N_Furry
Oct 16th, 2002, 12:19 PM
Thanks, Edneesis. Works great now! :)
Furry
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.