Information générale
Catégorie:
COM/DCOM et OLE Automation
>John,
>The macro information was just test stuff. It wasn't needed. You can use it to run anything you want.
>
>I tested it by opening MS Project. Then I created the object in VFP and ran the SetupAddin method. I clicked on the newly created button and the click method defined in the class fired.
>
>If you use the class to create something like a COM Addin, the click doesn't fire. I'm still working on figuring out why.
Larry,
Thanks for your help. For whatever dumb reason, I never tried changing the code in the click event to something else (to test if there was something wrong with the winmessage command). I simply changed it to add a document and sure enough, it added a document when I clicked the button!
Thanks again for your help.
John
Précédent
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