Click here to Skip to main content
14,302,017 members
Rate this:
Please Sign up or sign in to vote.
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..???
Updated 3-Oct-11 0:32am

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

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


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100