Events not being handled outside IDE

B

Bill Andreozzi

I've created a dll that is referenced from a word.doc.

Within the VSNET IDE - running debug, release and CTRL-F5 all launch word,
build my commandbars etc and events are handled.

BUT - If I double-click the .doc file (same one that is reference in the
debugger options in VSNET) -
My commandbars are created and code is running (I even placed a messagebox
on the last line of code prior to all startup code running - and it shows
up).
But when I click the command bar or any of the buttons, I get the "The macro
cannot be found or has been disabled because of Macro security settings".
Since I get rid of the "About" menu in the code, I'm not able to view if
it's been disabled, but I'm not sure that's the problem because the other
code runs fine.

Can anyone shed some light on this issue?
Any help would be appreciated.

thanks - Bill
 

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