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
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00424635
Message ID:
00424842
Vues:
11
>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

Eric,
In order to use WinFax you have to send your doc to a WinFax printer. I just look to see if that printer exists in the printer list returned by aPrinters().
If you are using the older versions make sure of the printer name before you use this code.

Hope this helps,
John.

*
********************************************************************
* 1st check that winfax exists
x = aPrinters(aPtrList)
mDoesExist = .f.
*
if x > 0
for i = 1 to x
if aPtrList(i, 1) = 'WinFax'
mDoesExist = .t.
exit
endif
endfor
endif
if .not. mDoesExist
=MessageBox('WinFax must be installed on your computer in order to' + iLf ;
+ 'Fax a report', 48, 'Send a Fax')
return
endif
********************************************************************
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform