Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Network:
Windows 2003 Server
I compared the two versions and found there are more events exposed in 2007 but none of potential use to me.
You are missing a very important point about interfaces here. You must implement an interface entirely - you cannot pick and chhose which methods you are going to define. You do not have to write code in all of the methods. If the applicationEvents2 interface defined by Word 2007 is different from the one defined for Word 2003, you have to use the one defined for Word 2007 if that is what you are using.
I want to disable menu options, particularly those under the "Office button" if I can figure out how to reference them. The NewDocument() method doesn't take a cancel parameter and that will be a problem if the command can't be disabled.
Wish I could hept you out, but I have never tried doing that.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement