>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