fortypoundhead.com

vb6 load problem

Q&A Home Search for a question Show Unresolved Show Resolved

You must login to ask or answer a question. If you don't have an account, you can register for one.

gwd4523 asked this question on 8/16/2012. It has been viewed 1116 times, and is currently resolved.

I have been running a VB6 application for several years on XP. I recently bought a window 7 computer and successfully loaded vb6 on windows 7. The program was running fine on windows 7. Out of the blue I get an "Error during load. refer to log" The log says "Line 15: Class MSComctlLib.ProgressBar of control pgbUpdate was not a loaded control class." I use a progress bar in two places in the program. I get this same error message twice during the load process. The program will run in the development mode. I do get an error break when it tries to run the progress bar. Is there a vb6 file that got corrupted?

Any ideas?

Keywords:

Answer from dwirch on 8/16/2012:

Best Answer!

You should be able to re-register the control (using regsvr32) that is being referenced, and things should return to normal.

Reference: