Results 1 to 6 of 6

Thread: Weird error when buliding project...

  1. #1

    Thread Starter
    Addicted Member Fat_N_Furry's Avatar
    Join Date
    Oct 2002
    Posts
    171

    Question 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!

  2. #2
    Junior Member
    Join Date
    Oct 2002
    Posts
    19
    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.

  3. #3

    Thread Starter
    Addicted Member Fat_N_Furry's Avatar
    Join Date
    Oct 2002
    Posts
    171
    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!

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    It looks like this, make sure you select the project not the solution:


  5. #5
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    From there it takes you to the '[ProjectName] Property Pages' dialog and the startup object is choosen there:


  6. #6

    Thread Starter
    Addicted Member Fat_N_Furry's Avatar
    Join Date
    Oct 2002
    Posts
    171
    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
  •  



Click Here to Expand Forum to Full Width