BleepingComputer.com: VB-6 Compile Error message

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

VB-6 Compile Error message I am teaching myself VB-6

#1 User is offline   KermitD 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 81
  • Joined: 28-April 05
  • Location:Stelle, Illinois

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.

#2 User is offline   flann 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 22
  • Joined: 27-July 05

Posted 28 July 2005 - 07:51 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users