Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking if Outlook is installed
Message
De
01/12/2002 20:30:52
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00728098
Message ID:
00728507
Vues:
20
Hi Andrew,

Thanks for that. Is there a web site for the User Group? If so what is it? If not can you please email me the details of the User Group?

Regards,
Gavin...

>Hi Gavin,
>
>Rick Strah's IsComObject.prg will check the registry for a CLSID.
>
>BTW, don't forget about the User Group meetings ...
>
>Cheers,
>
>Andrew
>
>>Hi All,
>>
>> Is there a way to check from VFP6.0 if Outlook is installed? I've created the following code to check if a reference can be created to Outlook:
>>
>>* ----- Check for existence of Outlook
>>lError = .F.
>>
>>cError = ON("ERROR")
>>
>>ON ERROR lError = .T.
>>
>>* ----- Create Object Reference To Outlook
>>oOutLook = CreateObject("Outlook.Application")
>>
>>ON ERROR &cError
>>
>>IF lError = .T.
>>   * ----- Outlook found
>>ELSE
>>   * ----- Outlook not found
>>ENDIF
>>
>>I've assumed that if I can't create an instance of outlook then it's not installed. This method probably isn't reliable so I was wondering if there is a reliable way to tell if outlook is installed. Registry key perhaps?
>>
>>Thanks,
>>Gavin...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform