I am trying to compile a vb6 application and I can't register the ocx files. In order to attempt to compile I have replaced the Object= lines in the .vbp file with Reference= lines to the TLB instead of the OCX. Now when I compile I get the following type of errors.
Line 125: Class KimgpLib.KImgp of control KImgp1 was not a loaded control class.
Line 145: Class KFormLib.KForm of control KForm1 was not a loaded control class.
I have registered the tlb files using regtlib.exe but cannot register the ocx files.
Any suggestions would be appreciated.
Thanks