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...
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.