Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP7, Outlook, & Eventhandler
Message
De
01/11/2001 15:31:38
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00576351
Message ID:
00576384
Vues:
18
>>I managed to use Eventhandler in VFP7 to respond to events in Outlook. My problem is that the DEFINE CLASS for the interface hard codes a path for Outlook. Has anyone used this with a more generic approach?
>>
>>Thanks,
>>Elyse
>
>Use the GUID of the type library instead of the path that the Object Browser creates. You can get that by selected the top level in the browser. Seelct the GUID that is displayed in the bottom status frame and hit CTRL+C to copy it into the clipboard. Paste it where you need it.
>
>You will also need to specify the version number. Ex. Word 2000
>
>IMPLEMENTS MyInterface in {00020905-0000-0000-C000-000000000046}#8.1
>
>You can get the version by running Regedt32 (or Regedit). Opening the HKEY_CLASSES_ROOT\TypeLib\00020905-0000-0000-C000-000000000046} and lloking at the version specified below it.
>
>HTH.

Pardon my ignorance, but will this GUID be different on each machine, or is this a universal code for the product? I need this code to work on any user's machine.
Elyse Pomerantz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform