I have a app that uses Winfax SDK but not all the user will have the Winfax installed. Is there a way to check the Winfax Software installation before I make the "fax" option available to them?
I have the following code but it did not work when I try to create the object that is not there.
Thanks!
WAIT WIND "Please Wait! Checking Winfax Software..." NOWAIT
PUBLIC oFax
oFax = CREATEOBJECT("WinFax.SDKSend"
WAIT CLEAR
IF TYPE("oFax" = "O" AND !ISNULL(oFax)
DO FORM faxacomment
ELSE
MESSAGEBOX("In order to use this option, you need to installed Winfax Software.", 48,"Alert"
ENDIF
I have the following code but it did not work when I try to create the object that is not there.
Thanks!
WAIT WIND "Please Wait! Checking Winfax Software..." NOWAIT
PUBLIC oFax
oFax = CREATEOBJECT("WinFax.SDKSend"
WAIT CLEAR
IF TYPE("oFax" = "O" AND !ISNULL(oFax)
DO FORM faxacomment
ELSE
MESSAGEBOX("In order to use this option, you need to installed Winfax Software.", 48,"Alert"
ENDIF