Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I AM A NEW STUDENT TO VB6 WITH A FEW SIMPLE PROBLEMS.
I GET COMPILE ERROR MESSAGE READING "ONLY COMMENTS MAY APPEAR AFTER END SUD. END FUNCTION, AND END PROPERTY.
THE PROGRAM IS SUPPOSED TO DRAW RANDOM BOXES, RANDOM LINES, AND RANDOM CIRCLES. THE BOXES PART OF IT WORKS FINE, I GET NO RESPONCE WHEN I CLICK THE RUN BUTTON FOR THE LINES, AND I GET THE ABOVE MESSAGE FOR THE CIRCLES. PLEASE HELP....
 
you had placed somewhere

End Sub
and your coding may appear after this that is all do you need to modify your code.

[sig][/sig]
 
I've had this problem.

I found that I had left a comma or a period after the
END SUB
statement.

Try this. Go to the end of the
END SUB
statement.


Push the delete key repeatedly and see if you erase something like a comma or a period.
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top