views:

837

answers:

1

Hi, I'm trying to develop an Excel 2003 Add-in using Visual Studio 2008 (SP1).I didn't add any code expect for the boilerplate code added by Visual Studio.

When I run the application in VS it loads up Excel, but the add-in itself does not work. The "COM Add-Ins" window list the add-in, but it's unchecked. The "Load Behavior" reads as "Not loaded.A runtime error occurred during the loading of the COM Add-in". VS was unable to catch the exception at load-time even though I've enabled all options under Debug > Exceptions.

I also tried setting up VSTO_SUPPRESSDISPLAYALERTS Environmental variable as mentioned in this MSDN article.Surprisingly that also didn't show me any messages.

I'm running Office 2003 (SP3) under Windows XP.It'll be great if someone can help me.

Thanks.

+1  A: 

You'll have to install KB908002. Please see

The installation with VS 2008 is a little more complicated. See here:

http://stackoverflow.com/questions/553794/can-a-net-word-2003-add-in-be-installed-outside-of-the-gac/553886#553886

0xA3
Thanks Divo. But the patch mentioned is specific to VS 2005. I did try installing it, but it said unable to find VS 2005.
HashName