Updated: 26/07/2005; 23:15:22.
Hannes 'Shorty' Decorte's Radio Weblog
Learning .Net and the Experiences doing so


vrijdag 25 maart 2005

I created a SmartTag for Office Excel XP and guess what... it didn't work. After triple checking the namespace, class name, strong name, guid, ... I googled the net.
And here is the solution:

For VS .NET and .NET Fx 1.0, when you register for com-interop on the build
 page or regasm, it puts a full path to mscoree.dll at inprocserver32 like
 this: c:windowssystem32mscoree.dl­l.  For VS 2003 and .NET Fx 1.1, there
 were some changes and instead of the full path, the registration services
 only put mscoree.dll.

 Try manually at  HKCRCLSID<GUID of com add-in>Inpocserver32 and change
 mscoree.dll to c:windowssystem32mscoree.dl­l
 Or create a setup project and set register property to vsdraCOM.  Then
 install using the installer and you'll see inprocserver32 points to
 c:windowssystem32mscoree.dl­l.  (Note that recompiling your project will
 make VS reset it to just "mscoree.dll" again, so stick with the installer.)


7:15:58 AM    comment []

© Copyright 2005 Hannes 'Shorty' Decorte.
 
March 2005
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Feb   Apr


RSS Feed


Other .Net Bloggers

Bart De Smet
Jan Tielens
Patrick Verbruggen
Patrick Tisseghem
Tom van de Kerkhof's Bloggings
Tom's Corner
Yves Hanoulle

Aggregated Feeds

Belgian .NET Bloggers