views:

32

answers:

0

I am writing an Add-in for Powerpoint 2003 using Visual Studio 2008. I created it by selecting "New Project" in Visual Studio, then choosing the "PowerPoint 2003 Add-in" project template. I added a simple menu to PowerPoint which opens a simple windows-form.

If I put a breakpoint into the Add-in code which creates the menu (code which executes before PowerPoint opens), the breakpoint works fine. However, when I try to use breakpoints in the code which the menu executes, i.e., in: menuCommand_Click(CommandBarButton Ctrl, ref bool CancelDefault), or in other routines which it calls, then when reaching a breakpoint Powerpoint crashes.

Anyone knows how to fix this?

Thanks, Arie

PS - My OS is Windows-7 64bit Ultimate, I use PowerPoint 2003 with Service Pack 3.