vba - How to create object of .net library using 64 bit excel 2010 -


i'm getting error 429: activex component can't create object, when referencing visual studio 2008 c# library 64 bit excel 2010.

note: create object method works fine on 32 bit excel 2010.

i using below call create object:

set commonlib = createobject("autolib.common") 

does has idea this.

two possibilities spring mind:

1) have checked build configuration of c# library - set build x86 (i.e. 32 bit)? if so, try changing 'any configuration' or 'x64'.

2) library excel 64-bit expects be? have seen problems people have hard coded paths (e.g. c:\program files(x86)) or registry keys, don't behave hoped when switching 64-bit!


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -