Solved

to:Chris or someone else. Register .OCX

Posted on 1997-09-03
1
318 Views
Last Modified: 2010-05-18
When I try to put my aplication exe file and ocx on another computer it wont start becouse the OCX is not register.So I do REGSVr32.exe Filename.ocx and it gives an error like "LoadLibrary ("...ocx")failed.....
Chris told me about installing the an OCX to get the registry to register the OCX. How can I do this.
Please give me solutions
Thanks.
0
Comment
Question by:asimoes
[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
1 Comment
 
LVL 3

Accepted Solution

by:
ChrisLewis earned 20 total points
ID: 1433512
Asimoes -
  Make sure that you are running REGSVR32 from the directory that the OCX file is in.  (or make sure the OCX is in the Windows system directory) That's usually the cause o fthe LoadLibrary error.  

Also make sure you're typing the right file name :-)  I did that one once.

Hope this helps,

Chris
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…

729 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