Link to home
Start Free TrialLog in
Avatar of ravi_pvkumar
ravi_pvkumar

asked on

installation problem of ocx without visual studio

Introduction:

     We developed an ActiveX control named: EventProgAPI by using MFC ActiveX control wizard. By developing this control we are creating an ocx file that will allow us to distribute it through a set up file allowing us to install the ActiveX control in different languages.


Problem:

We developed a package for this ActiveX control by using Packaging and deployment wizard of VB 6.0 (programs->Visual Studio->Package and Deployment option).

When we install this control by using setup file (.cab)  on a machine that does not contain Visual Studio it is unable to register it. (It is giving the Error ?ActiveX could not register error in registering ocx file?) but it successfully registering it on a machine that contains Visual Studio.

We are unable to find out the dependency files that we need to include along with Package.
Is there any solution for it or any methodology so that we can install our ActiveX control without the Visual Studio?



Avatar of majorjohn
majorjohn

It is most probably because of incorrect versioning of Regsvr32. Include Regsvr32 of the computer where u developed the OCX and try registering using that Regsvr32.
Hi!
IMHO you forget add in the installation files DLL that your OCX depending on.
ASKER CERTIFIED SOLUTION
Avatar of DanRollins
DanRollins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Check that you got a new version of atl.dll installed.

/Micke