PC Review


Reply
Thread Tools Rate Thread

Debugging managed COM objects being called from VBA

 
 
Dan Neely
Guest
Posts: n/a
 
      1st Feb 2008
I've found I can open my test spreadsheet automatically when i start
my VS project using the debug properties page of the project. I've
found a new showstopper though. The moment I try and run the calling
VBA macro in my spreadsheet it closes excel and ends my VS debugging
session. The same thing happens if I have it launch excel without a
document and then manual open it using that copy of excel.

If I open the spreadsheet in a separate excel window the macro runs
and calls the COM object successfully but my breakpoints in the C#
code are ignored.

this is happening with VS2003 and both Excel03 and 07.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Managed Remote Debugging christoffer.lantz@gmail.com Windows XP Embedded 3 9th Nov 2006 04:49 PM
Debugging .NET DLLs called from COM objects. Gemma M Microsoft C# .NET 0 30th Mar 2006 09:12 AM
Debugging C# assembly called from C++ listerofsmeg Microsoft C# .NET 1 1st Dec 2004 09:53 AM
How do you find which Objects are called by other Objects Greg Microsoft Access Getting Started 4 22nd Jul 2004 05:51 PM
Re: how to debug managed dll when called from VB6? José Joye Microsoft VB .NET 0 27th Aug 2003 08:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.