I installed VB6 on my new windows 10 computer and it installed fine.

My compiled program works fine. However, in the IDE mode
it does not 'recognize' the on error resume next (or any other
on error statement) and shows in a popup that there is an error
and will not continue.

Is there anything about the on error statement that I don't know?

I even created a new test vb6 program with a textbox, command control
and tested it. Same problem. Runs without the on error statement
but not with the on error statement. Compiled to an exe it runs fine,
with the on error statement.

Any ideas?

Just one. Is VB6's SP6 installed?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.