Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

VB-6 Compile Error message


  • Please log in to reply
1 reply to this topic

#1 KermitD

KermitD

  • Members
  • 81 posts
  • OFFLINE
  •  
  • Location:Stelle, Illinois
  • Local time:03:01 AM

Posted 26 July 2005 - 01:20 PM

I am using the book, "Visual Basic 6 - How to program" by Deitel etc. It is a good book to use for learning VB programming. I am up to Chapt. 13, so I am coming along.

I typed the correct code (yes I did) for one of the Error Handler routines (Resume and the call stack) . When I go to Run, Compile, I get the error message, "Must have startup form or Sub Main".

What is a "startup form"? The routine has a form, just like all of the other routines I have typed and run. Or, if I need a "Sub Main" routine, I would expect the instructions to include one. (What's a Sub Main routine?)

I hate it when it says that the program won't run for some reason or another and I don't have anyplace to look up what they're talking about. I guess my real question is, "What does the error message want me to do"?
KermitD
Choices have consequences.

BC AdBot (Login to Remove)

 


#2 flann

flann

  • Members
  • 22 posts
  • OFFLINE
  •  
  • Local time:03:01 AM

Posted 28 July 2005 - 07:51 PM

Try this http://vbmysql.com/forums/index.php?t=msg&...rid=0#msg_36063




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users