Has anyone had experience with setting up WinFax as an object in VFP? I have tried the following :
oFaxObject=CreateObject("faxmng32.application"
oFaxObject.FaxName=mfaxname
oFaxObject.FaxNumber=mfaxno
oFaxObject.FaxDocument=mfaxdoc
oFaxObject.Send
but it returns the error message : "class definition "faxmng32.application" is not found.
(I also tried "winfax.application" with the same result.)
Also, are there standardized names for the other variables I'll be using , such as faxname, faxnumber, faxdoc, etc. ?
Thank you for your help.
oFaxObject=CreateObject("faxmng32.application"

oFaxObject.FaxName=mfaxname
oFaxObject.FaxNumber=mfaxno
oFaxObject.FaxDocument=mfaxdoc
oFaxObject.Send
but it returns the error message : "class definition "faxmng32.application" is not found.
(I also tried "winfax.application" with the same result.)
Also, are there standardized names for the other variables I'll be using , such as faxname, faxnumber, faxdoc, etc. ?
Thank you for your help.