Discussion:
COM Addin "Macro Not Found" AFTER sucessful run
(too old to reply)
Michael Jervis
2005-09-26 15:52:16 UTC
Permalink
Hi,

I'm working on a VB6 COM Word Add-In for Word2000 and later. My dev
platform is word 2000.

I have added a command bar and button to the toolbars. When I click on
the button, I display a simple msgbox to confirm that my event sink is
working.

However, once the message box has been clicked away, I get an error
dialog:

"The Macro Cannot be found.."

When plainly it has, and it's even executed.

In the "COM Add Ins" menu my add in is ticked and marked as loaded. In
the Macros security I've set it to "Low" and trust add-ins from all
sources, and I still get the error.

Any suggestions?
Michael Jervis
2005-09-29 14:11:07 UTC
Permalink
IT appears I need to set "CancelDefault" to True, and also, have the
add-in properly installed. When running in debug mode in VB, the add-in
is not properly installed and you have to re-enable it each time you
run VB.

Loading...