Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2005

Tip: Looking for answers? Try searching our database.

COM Addin "Macro Not Found" AFTER sucessful run

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael  Jervis - 26 Sep 2005 16:52 GMT
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 - 29 Sep 2005 15:11 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.