Solved

Registering an .ocx file with regsvr32.exe

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

743 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