Hi,
Can anyone help me with using zetafaz as an object?
the zetafax site no longer offers any info on VFP. I created some code a long time ago, I think by translating from VB.
My attempt is like this:
but it seems to fail at the first line. Sorry that's so vague but i have to rely on the client's descriptions as I am not at the system with Zetafax.
My questions are?
is the 'zflib.zfapi' correct?
what libraries/procedure etc should I include in my set ...to...additive statements?
Bill Spence,
Dunfermline, Scotland
Can anyone help me with using zetafaz as an object?
the zetafax site no longer offers any info on VFP. I created some code a long time ago, I think by translating from VB.
My attempt is like this:
Code:
oZfAPI = CREATEOBJECT("ZfLib.ZfAPI")
oUserSession = oZfAPI.Logon(myLoginName, .f.)
oNewMessage = oUserSession.CreateNewMsg()
oNewMessage.Recipients.AddFaxRecipient(mycontact,mycompany,myfaxno)
oNewMessage.Text = "myText"
oNewMessage.Subject = "mySubject"
oNewMessage.Priority = zfPriorityUrgent
oNewMessage.Files.Add(myAttachment)
oNewMessage.Send()
but it seems to fail at the first line. Sorry that's so vague but i have to rely on the client's descriptions as I am not at the system with Zetafax.
My questions are?
is the 'zflib.zfapi' correct?
what libraries/procedure etc should I include in my set ...to...additive statements?
Bill Spence,
Dunfermline, Scotland