Registering an .ocx file with regsvr32.exe
Posted on 2002-07-02
I have created an application in VB6 which uses the MSChart control, which I added using the Project/Components dialog box. Both I and the client are running Windows 2000 Professional. Everything works fine on the box where I created the application, but after I install it on the client's system, I get a run-time error stating that the file MSCHRT20.ocx file is either missing or improperly registered. According to the package and deployment wizard, the file is included in my package, as expected. I also tried going into the client's WINNT\System32 folder and dropping the .ocx file onto the regsvr32.exe, in which case I get the message "DllRegisterServer in C:\WINNT\system32\MSCHRT20.OCX succeeded." But when I run my application, it generates the same run-time error regarding the .OCX file registration problem. Anyone know how to solve this conflict?