Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to know if Outlook is present on a comput
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00424635
Message ID:
00424842
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform