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"?
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"?

Help
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.



Back to top








