Click here to Skip to main content
14,691,952 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My problem related to ActiveX.
My ActiveX activex load successfully my machine but it can not run client machine for this problem to short-out first i create a cab file this file contains ocx file and inf file this .ocx file is my ActiveX activex file this ocx file successfully registered my development machine but it is not register my client machine.i change the internet setting and check the my codebase in my script file all are correct the client machine detect the my cab file and install it on client machine but it does not register the client machine so it does not load my client machine. I don't understand what is the problem pl z send me or tell me the solution urgently
Posted
Updated 8-Apr-11 2:35am
v3

You have tagged the question with .NET4. Does this mean you wrote this using C#? If so the target machine will need to have the appropriate version of the .NET framework runtime on it. Perhaps that's your problem there!
   
Comments
Espen Harlinn 8-Apr-11 8:28am
   
Good point, 5ed!
Nish Nishant 8-Apr-11 8:33am
   
Thanks!
   
Agree, a 5.
--SA
If the client is running Vista or Windows 7, the installation process needs "Run as Administrator" to be able to modify the registry in the correct places. If you developed your component using .Net there are as Nishant points out additional issues ...

Regards
Espen Harlinn
   
Comments
Nish Nishant 8-Apr-11 8:34am
   
Good info here! 5d.
Espen Harlinn 8-Apr-11 8:48am
   
Thank you, Nishant!
   
Correct and important point here. My 5.
--SA
Espen Harlinn 9-Apr-11 3:10am
   
Thank you, SAKryukov!
You have to put the OCX file in a MSI file and add a custom action to register the OCX file.
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900