如何在客户端计算机上注册ActiveX [英] How can register the activex on client machine

查看:111
本文介绍了如何在客户端计算机上注册ActiveX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题与ActiveX有关.
我的ActiveX Activex成功加载了我的机器,但是它无法运行客户端计算机以解决此问题,因此我首先创建了一个cab文件,该文件包含ocx文件和inf文件.开发机器,但未注册我的客户端计算机.我更改了互联网设置并检查了我的脚本文件中的代码库都正确,客户端计算机检测到了我的cab文件并将其安装在客户端计算机上,但未注册客户端计算机因此它不会加载我的客户端计算机.我不明白请z紧急发送给我或告诉我什么解决方案,这是什么问题.

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

推荐答案

您已将问题标记为.NET4.这是否意味着您使用C#编写了此代码?如果是这样,目标计算机将需要在其上具有适当版本的.NET Framework运行时.也许这就是您的问题!
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!


如果客户端运行的是Vista或Windows 7,则安装过程需要以管理员身份运行"才能在正确的位置修改注册表.如果您使用.Net开发组件,则Nishant会指出其他问题...

问候
Espen Harlinn
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


您必须将OCX文件放入MSI文件中,并添加自定义操作以注册OCX文件.
You have to put the OCX file in a MSI file and add a custom action to register the OCX file.


这篇关于如何在客户端计算机上注册ActiveX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆