Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.dotnet.languages.csharp, microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Excel 2003 / VS 2005 Automation Add-In

My computer recently crashed, so I rebuilt it and installed office
2003, VS 2005, PIA for 2003 etc (as it was before). But very
strangely, all my C# based Excel automation add-in stopped working.
In fact I can load them into Excel without any error message, i.e.
Tools / Add-In / Automation / Selec the class, click OK. However as
soon as I close the add-in dialog box and reopen it, all the ticks are
gone. There is no error message in the whole process.

I have tried to recompiled the code etc, without any luck. There is
no error in the event log as well.

I don't think it's related to the code, but more or less related to
some configuration. Can anybody have any hint for me?

Also, is there anyway to turn on Excel logging so I can see what's
going on? (I suspect there is an exception being thrown silently
during the loading / activiating the add-in, but I could not intercept
it by lauching VS debug session.

Thanks.
  #2   Report Post  
Posted to microsoft.public.dotnet.languages.csharp,microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel 2003 / VS 2005 Automation Add-In

Have a look at your event log see what's up. I'd expect either failed
registrations or dependency issues since you re-isntalled everything. Right?

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------



"My interest" wrote in message
...
My computer recently crashed, so I rebuilt it and installed office
2003, VS 2005, PIA for 2003 etc (as it was before). But very
strangely, all my C# based Excel automation add-in stopped working.
In fact I can load them into Excel without any error message, i.e.
Tools / Add-In / Automation / Selec the class, click OK. However as
soon as I close the add-in dialog box and reopen it, all the ticks are
gone. There is no error message in the whole process.

I have tried to recompiled the code etc, without any luck. There is
no error in the event log as well.

I don't think it's related to the code, but more or less related to
some configuration. Can anybody have any hint for me?

Also, is there anyway to turn on Excel logging so I can see what's
going on? (I suspect there is an exception being thrown silently
during the loading / activiating the add-in, but I could not intercept
it by lauching VS debug session.

Thanks.


  #3   Report Post  
Posted to microsoft.public.dotnet.languages.csharp, microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Excel 2003 / VS 2005 Automation Add-In

On Jan 21, 9:10*pm, "Alvin Bruney [ASP.NET MVP]" <www.lulu.com/owc
wrote:
Have a look at your event log see what's up. I'd expect either failed
registrations or dependency issues since you re-isntalled everything. Right?

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively onwww.lulu.com/owc$19.99
-------------------------------------------------------


Nothing in the event log. Actually I can register mannually using
regasm without problem (with or without /codebase). In fact, I can
even refer to that class in VBA code (e.g. COM registratin seems to be
OK)
  #4   Report Post  
Posted to microsoft.public.dotnet.languages.csharp,microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2003 / VS 2005 Automation Add-In

Try one of these boogers:

Update for Office 2003 (KB907417)
http://www.microsoft.com/downloads/d...a-6a64d6ac4670

or this one
http://support.microsoft.com/kb/908002/en-us

There was an update that happened adn afterwards one of the two above were
required, I can't remember which one. I do remember going MAD for days
trying to figure it out! ;0)


"My interest" wrote in message
...
My computer recently crashed, so I rebuilt it and installed office
2003, VS 2005, PIA for 2003 etc (as it was before). But very
strangely, all my C# based Excel automation add-in stopped working.
In fact I can load them into Excel without any error message, i.e.
Tools / Add-In / Automation / Selec the class, click OK. However as
soon as I close the add-in dialog box and reopen it, all the ticks are
gone. There is no error message in the whole process.

I have tried to recompiled the code etc, without any luck. There is
no error in the event log as well.

I don't think it's related to the code, but more or less related to
some configuration. Can anybody have any hint for me?

Also, is there anyway to turn on Excel logging so I can see what's
going on? (I suspect there is an exception being thrown silently
during the loading / activiating the add-in, but I could not intercept
it by lauching VS debug session.

Thanks.



  #5   Report Post  
Posted to microsoft.public.dotnet.languages.csharp, microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Excel 2003 / VS 2005 Automation Add-In

Briliant!! It worked. Thanks very much.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between excel 2003 and 2005? ferret3 Excel Discussion (Misc queries) 2 July 22nd 08 10:02 PM
how to connect SQL 2005 OLAP in excel 2003 Wei Ming Excel Discussion (Misc queries) 0 March 2nd 07 11:33 PM
Undo Disabled in Excel 2003 using VSTO 2005 Darryn Lavery Excel Programming 0 November 21st 06 02:39 AM
Excel 2003 with SharePoint 2003 and Analysis Services 2005 sojoca Excel Programming 0 July 15th 06 05:44 AM
Can Visual Basic 2005 be used in Excel 2003? atesolutions Excel Programming 1 January 11th 06 01:47 PM


All times are GMT +1. The time now is 03:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"