Solved

Registering an .ocx file with regsvr32.exe

Posted on 2002-07-02
2
860 Views
Last Modified: 2008-02-01
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?

Thanks,
Robert
0
Comment
Question by:bob_aloo
2 Comments
 
LVL 6

Accepted Solution

by:
anthony_glenwright earned 50 total points
ID: 7125650
You may be missing one of the localised dependencies.  Try using http://activex.microsoft.com/controls/vb6/MSChrt20.cab to install (copy to the target machine, right-click and select "Install").
0
 

Author Comment

by:bob_aloo
ID: 7125729
anthony_glenwright,

Problem solved. Many thanks.

Robert
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question