ActiveX问题-未指定的错误 [英] ActiveX Problem - Unspecified Error

查看:119
本文介绍了ActiveX问题-未指定的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

专家,
我正在使用VBA7开发一个宏,其中使用的是用于64位计算机(OS)的活动X控件,我已经在计算机上成功注册了ActiveX,但是当我在激活该工具的引用后在窗体上绘制了该控件时,给出错误-未指定的错误.我不明白怎么了.请帮助我...
我正在使用64位OS窗口和64位MS Office 2010
使用64位机器针对64位系统开发了activeX控件.
在此先谢谢您.


-----------------------------------

通过它,我发现出现此问题是因为此ocx文件未在注册表系统中正确注册.
我不知道为什么...
我正在使用regsvr32.exe在64位系统上注册它,并给出了成功消息,但是在注册表中,我看到它的某些条目不可用,因此无法正常工作.
在尝试注册.net框架环境应用程序时,也在尝试在.net框架环境应用程序中使用它,并且在组件列表中显示了错误……"myEditBox.ocx的自注册失败"
对这个问题有任何想法.. ???
谢谢

Hi Expert,
I am Developing a macro using VBA7, in which am using a active X control for 64 bit machine(OS), I have registered ActiveX on my machine successfully, but while I draw that control on my form after activating reference of that tool, it giving an error - Unspecified Error. I don''t understand what going wrong. Plz Help Me...
Am Using 64bit OS windows and 64 bit MS office 2010
and activeX control is developed using 64 bit machine for 64bit system.
Thanks in advanced.


-----------------------------------

By going through it I found that this problem is occuring because of this ocx file is not getting registered properly in registry system.
I dont know why...
I am Registering it on 64 bit system using regsvr32.exe and it giving success message but in registry i saw some of its entries not available so that it is not working fine.
Am also trying to use in .net framework environment application and there in the component list when I am trying to register it , it giving an error ... "Self Registration for myEditBox.ocx failed"
Have Any Idea regarding this problem..???
Thanks

推荐答案

您好
我已经完成了有关在此区域注册ActiveX控件库的一些研究
我发现如果要为64位操作系统和64位应用开发ActiveX控件,那么在这种情况下,我们必须为64位和32位操作系统都注册此ActiveX控件
适用于64位操作系统的System32文件夹中的64位ActiveX控件
用于64位操作系统的SysWOW64文件夹中的32位ActiveX控件,

为此,我们必须在MFC中生成两个版本的ActiveX控件
x64和Win32均为版本

谢谢
Hi
I have done some research regarding registering ActiveX control library in this area
and I found that If am developing ActiveX control for 64 bit Operating Syatem and 64bit Aplication Then in this case we have to register this activeX control for both 64bit and 32bit operating system
64bit ActiveX control in System32 folder for 64bit operating system
32bit ActiveX control in SysWOW64 folder for 64bit operating system,

For this we have to generate both version of ActiveX control in MFC
x64 and Win32 both version

Thankx


这篇关于ActiveX问题-未指定的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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