Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faxserver document handle
Message
From
23/04/2008 16:32:30
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01312742
Message ID:
01312750
Views:
15
Try fd.Send()

>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform