Posted 16 September 2017, 8:24 am EST
I have a VB6 application that plots some data to the console. Program was ported from an NT platform to a XP computer.
Runs fine from within VB (interpretive mode) but as soon as i try to compile it to an exe i get the following:
"Compile error: Method or data member not found" , highlighting in blue some chart related item refererences like .Chartarea and does not compile.
Earlier, i had seen " olch2x7.ocx could not be loaded --continue loading project ? " so i suspected this ocx may be missing. I found a copy
online , put it in system32 folder and registered it with regsvr32 with success. Subsequently i was not able to see it under Project / References in
the VB even though other componentOne controls are showing (eg. ComponentOne VSFlexgrid 8.0 etc). Then i tried loading it via VB / Project/Components
(CTRL T) and Browsing the system32 folder which results in "Component not correctly registered" !
I am simply trying to compile a project which works fine running from the VB code interpretively but will not compile.
Do i need an upgraded .ocx file or find dll to go with it (Olch2d7.dll). I am at a loss as to what to do next.
Component not correctly registered