>>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