>>>When an error occurs, my hander routine points to the offending line that is blank.(between paragraphs) It occurs on a certain line in the destroy event of a form. I know a line with no text can't be the problem.
>>
>>Does the previous line end on semicolon?
>
>nope, just a carriage return from previous line
Is it the last line in the Destroy or some middle line? What if you delete it completely? I am guessing the previous statement caused the error after its completion... May be some object on the form could not be destroyed?
Can you post the code in Destroy method (if it's not too long) and indicate the line with problem?
If it's not broken, fix it until it is.
My Blog