Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking if Outlook is installed
Message
From
01/12/2002 20:30:52
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00728098
Message ID:
00728507
Views:
19
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...
Previous
Reply
Map
View

Click here to load this message in the networking platform