Do you have a long processing loop that you call Application.DoEvents in?
I've made this mistake in the past. What I've done is in the form's close is
set a flag that the form is closing and break out of the loop when the flag
is true.
"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein
"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein