OnConnection Fires twice???

M

Mark Durrenberger

I've built an add-in for MSProject,
for some reason the on-connection addin fires twice (tested with "msgbox"
statements).
Does anyone know what might cause it to fire twice? Or how to trace the
code...

The strange thing - it only happens when I run the compiled version of the
code. When I run in debug mode, it works fine???

Thanks In Advance,
Mark

--
_________________________________________________________
Mark Durrenberger, PMP
Principal, Oak Associates, Inc, www.oakinc.com
"Advancing the Theory and Practice of Project Management"
________________________________________________________

The nicest thing about NOT planning is that failure
comes as a complete surprise and is not preceded by
a period of worry and depression.

- Sir John Harvey-Jones
 
M

Mark Durrenberger

More headaches...
When running the code (not in debug mode) I get two instances of Winpro.exe
running (found with the task manager)
Mark
 
I

Ilia

I have the similar problem i used standard example for word add-in from
microsoft.
Also OnConnection as well as OnStartupComplete fires twice. when I click the
toolbar button the code executes twice also.

Have you find the sollution to your problem?
 

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