How to Test/Debug the COM Add-In project efficiently?

L

lostwings

Hi,

I am writing a COM Add-In project for Visio 2003 using VB. In order to debug
the code, I have to uninstall the previous COM component, reinstall the new
COM component, and examine the variable values by inserting a bunch of MsgBox
into the code. That really takes a lot of time to do so, is there a quick
way embedded into the visual Studio IDE for debuging the COM add-in project?

Thanks in advance!
 
D

David Parker

Are you using VB.net or the old VB 6?
If vb.net, then ensure that RemovePreviousVersions = TRUE, and that the
Debug Strtup program is Visio.exe You can the continuously debug from with
VS Studio.
 
L

lostwings

Thanks for the response.

But could u please give more detailed walk through information on how to
make the debug startup program is Visio.exe in Visual Studio IDE?
 
D

David Parker

Project / Properties
Configuration = Debug
Configuration Properties / Debugging
Start External Program = C:\Program Files\Microsoft Office\Visio11\VISIO.EXE
 
L

lostwings

Thanks so much.
--
John 3:16


David Parker said:
Are you using VB.net or the old VB 6?
If vb.net, then ensure that RemovePreviousVersions = TRUE, and that the
Debug Strtup program is Visio.exe You can the continuously debug from with
VS Studio.
 
D

Diver@home

Project / Properties
Configuration = Debug
Configuration Properties / Debugging
Start External Program = C:\Program Files\Microsoft Office\Visio11\VISIO.EXE
Quality response
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top