Solved

Registering an .ocx file with regsvr32.exe

Posted on 2002-07-02
2
858 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now