Linker IT Software
Google
Web www.oraxcel.com
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
Run VB6 MS Office COM addin (x86) in x64 Office (Read 4173 times)
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Run VB6 MS Office COM addin (x86) in x64 Office
18.08.10 at 16:56:52
 
Run VB6 MS Office COM addin (x86) in x64 Office
 
Running 32 bits MS Office COM addin's in 64 bits MS Office IS POSSIBLE. Change the project type of your x86 ActiveX dll in VB6 to a ActiveX .exe project. Recompile. This gives a 32bits addin which you can register as a COM addin (using the normal techniques) for use in 64bits MS Office (x64) 2010.
 
Unfortunately digital signatures on .exe ActiveX files are not recognised by Office.
 
See also:
VB6 ActiveX in Office x64  
http://www.oraxcel.com/cgi-bin/yabb2/YaBB.pl?num=1282137753/0#0
 
VB6 is dead, long live classic VB!
Back to top
 
« Last Edit: 24.09.10 at 08:37:13 by Gerrit-Jan Linker »  

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Re: Run VB6 MS Office COM addin (x86) in x64 Offic
Reply #1 - 25.08.10 at 14:44:10
 
VB6 MS Office COM addin (x86) in x64 Office
 
Switching from an ActiveX dll to an ActiveX exe changes the software from using COM to using DCOM. In itself not such a big problem but any parameters passed will need to get 'marshalled' and hence the software will run a bit slower.  
 
However there is one big problem. No bitmaps or pictures can be passed. The ribbon callback to get the image for a button is therefore impossible to implement it seems. A shame.
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1