Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 3-Oct-11 0:32am
v2

1 solution

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
 
Share this answer
 

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

  Print Answers RSS


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