Information générale
Catégorie:
COM/DCOM et OLE Automation
It appears that the command bars in Word are actually members of the Office Object Library. Here's my situation, I'm opening Word via automation, opening a document and creating a command bar on the fly. I intend on running certain programs based on which command bar button is clicked. My thinking is that I need to bind my vfpclass object that I create to the office.commandbars object. The problem is that you can't createobject("office.commandbars"). Am I even on the right track? Is there some other way to run Fox programs from the click of a Word command bar?
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