Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Install Vb.net with OCX on other computer

Posted on 2004-09-06
3
Medium Priority
?
255 Views
Last Modified: 2011-04-14
Hello,

I have an vb.net App with an OCX in it. In my Release folder I have:

- AxInterop.DVDLib.dll
- DVDCleaner.exe
- Interop.DVDLib.dll
- DVDlib.ocx

What I need to copy on another computer so that the app run? I tried to install all files, result DVDCleaner.exe crash on start. Next I try to Install only exe and ocx, result is a crash on start. Do I need to register anything else as the ocx?
Do I need to make registry entries? I use InstallShield Developer 8.0

The .net Framework is the same on traget computer as the one I develop with, so this is not the problem. An TestApp without OCX runs. The OCX is wirtten in MFC 7.0 (C++). All needed files are on the computer (MFC).

Iam happy if someone can help me.

Ingo
0
Comment
Question by:Ocrana
[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
3 Comments
 
LVL 4

Accepted Solution

by:
Javert93 earned 1000 total points
ID: 12010511
All OCX's (and COM dll servers) need to be registered on the target machine using RegSvr32.exe:

    regsvr32.exe <OCX filename>

This registers the type library in the registry, and create entries for the COM objects themselves. InstallShield should have a property for the dll that indicates whether or not it is self-registering COM server (perhaps something called "selfRegister", or something like that). Bottom line is, you have to run the aforementioned command line to use the OCX. If InstallShield is not performing this task for you, then you will need to check the documentation to see how to enable it.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

705 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