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"?
Page 1 of 1
VB-6 Compile Error message I am teaching myself VB-6
#2
Posted 28 July 2005 - 07:51 PM
Share this topic:
Page 1 of 1

Help



Back to top








