Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

to:Chris or someone else. Register .OCX

Posted on 1997-09-03
1
Medium Priority
?
333 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
1 Comment
 
LVL 3

Accepted Solution

by:
ChrisLewis earned 40 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Suggested Courses
Course of the Month20 days, 19 hours left to enroll

810 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