Solved

Registering an .ocx file with regsvr32.exe

Posted on 2002-07-02
2
865 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

707 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