469,647 Members | 1,709 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

HELP: Debugging VB.NET Excel Add-In

I wrote an Excel Add-In in VB.NET using Visual Studio .NET 2003 and the
..NET Framework version 1.1.4322 on my previous machine. This machine
had MS Office 10 installed on it. With this configuration I was able
to run Excel from the debugger, my add-in loads on startup in Excel,
and I could debug my add in.

I got a new machine. This machine has both .NET 1.14322 and .NET 2.0
installed on it and it has MS Office 11 installed. It also has VS.NET
2003. I copied over the add-in project and rebuilt it. Then I ran my
installer to install the debug version on the machine (just as I did on
the previous machine). When I run under the debugger, Excel starts up
and then exits immediately. If I try again Excel starts and gives this
error message:

"Excel experienced a serious error the last time the add-in '<myaddin>'
was opened. Would you like to disable this add-in? To reactivate this
add-in, click About Microsoft Office Excel on the Help menu, and then
click Disabled Items"

If I disable it, I can launch Excel from the debugger, but (of course)
my add-in is disabled and does nothing. If I don't disable it, Excel
continues to exit immediately when launched from the debugger.

If I launch Excel normally, it starts up fine and my add-in is loaded
and runs. But, I can' t debug.

How can I fix it so I can launch Excel from the debugger and debug my
add-in?

Any help is greatly appreciated.

Apr 25 '06 #1
0 1603

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Rudy Ray Moore | last post: by
2 posts views Thread by Mike Fellows | last post: by
1 post views Thread by Steven | last post: by
2 posts views Thread by james | last post: by
4 posts views Thread by Melissa | last post: by
1 post views Thread by Panteras | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.