Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: MFC
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 29-Sep-11 19:12pm
Edited 3-Oct-11 0:32am
v2

1 solution

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

Solution 1

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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 404
1 Sergey Alexandrovich Kryukov 387
2 Shemeemsha RA 148
3 Abdul Samad KP 125
4 CPallini 100
0 OriginalGriff 6,189
1 Sergey Alexandrovich Kryukov 5,666
2 CPallini 4,810
3 George Jonsson 3,429
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 11 Oct 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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