I am trying to automate sending a fax using the fxscomex.dll. and the following code but i get the error MEMBERNOTFOUND: CONNECTEDSUBMIT. Is there a FiveWin equivalent of #import "fxscomex.dll" that I should be using?
- Code: Select all Expand view
oFaxServer := CREATEOBJECT( "FaxComEx.FaxServer" )
oFaxDoc := CREATEOBJECT( "FaxComEx.FaxDocument" )
oFaxServer :Connect( "fax" )
oFaxDoc:Body = "c:\gary\sql.txt"
oFaxDoc:DocumentName = "Fax test"
oFaxDoc:Recipients:Add( "01865847491" )
cJobID=oFaxDoc:ConnectedSubmit( oFaxServer )
oFaxServer :Disconnect()
Thanks
Gary