Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to know if Outlook is present on a comput
Message
De
04/10/2000 11:40:37
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00424635
Message ID:
00424778
Vues:
14
>How can we tell from VFP6 if outlook is installed on the computer ?
>Is it possible to also know if Delrina WinFax Pro is there ?
>
>thanks
>eric

Both of these apps allow a degree of automation, so I would try to create an object of each type and if you get an error, then it isn't there.

e.g.
PRIVATE lError, loObj
lError = .f.
ON ERROR lError = .t.
loObj = CREATEOBJECT("outlook.application")
ON ERROR
IF lError
? "outlook isn't here!"
ENDIF

I'm not sure what the class name would be for WinFax pro - if you search the archives, there are plenty of examples of WinFax automation.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform