General information
Category:
COM/DCOM and OLE Automation
Title:
Faxserver document handle
Hi,
I am having problems trying to automate my faxing. I am working via remotedesktop
I have read all the threads related to faxserver here and my wheels
are starting to spin, not to mention my head. The fax is MS Fax Console.
It is shared...
This code gives me a "Handle is invalid" on the fd.Send
Thanks for help
xfaxsoftw = "\\TERM-003\Fax" &&"\\TERM-003" &&"Fax on TERM-003", "Fax"
&&*Set Printer To Name (eFaxSoftW)
oFax = CreateObject("faxserver.faxserver")
oFax.connect(xfaxSoftw)
fd = oFax.CreateDocument("c:\testdoc.doc")
fd.FileName = "c:\testdoc.doc"
fd.Faxnumber = "818014895099"
fd.Displayname = "MYNAME"
fd.sendcoverpage = .f.
fd.Send
oFax.Disconnect()
release oFax, fd
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only