|
-
Oct 16th, 2002, 11:36 AM
#1
Thread Starter
Addicted Member
Weird error when buliding project...
What does this error mean?
'Sub Main' was not found in 'Assignment_Projector.Form1'.
Thanks for your time.
Furry
 Eat long and prosper! 
If someone helps you, find someone you can help.
If you still have time, click on the darn banner up there and help the forum! 
-
Oct 16th, 2002, 11:51 AM
#2
Junior Member
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.
-
Oct 16th, 2002, 12:00 PM
#3
Thread Starter
Addicted Member
Thanks for your response.
I didn't see a properties option under the project menu. This is what you're talking about right?
 Eat long and prosper! 
If someone helps you, find someone you can help.
If you still have time, click on the darn banner up there and help the forum! 
-
Oct 16th, 2002, 12:16 PM
#4
It looks like this, make sure you select the project not the solution:
-
Oct 16th, 2002, 12:18 PM
#5
From there it takes you to the '[ProjectName] Property Pages' dialog and the startup object is choosen there:
-
Oct 16th, 2002, 12:19 PM
#6
Thread Starter
Addicted Member
Thanks, Edneesis. Works great now! 
Furry
 Eat long and prosper! 
If someone helps you, find someone you can help.
If you still have time, click on the darn banner up there and help the forum! 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|