Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fax
Message
 
To
05/10/2006 00:52:35
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Fax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01159259
Message ID:
01159690
Views:
13
I don't see in your code where you connect to the fax server.
If it is local (meaning you are sending the fax from the same machine as the faxserver try using this:
x.connect(.)


>I using Microsoft Fax with winXP SP2 :
>
>
>when I issue send command : vfp give me ole error :
>
>ole error code 0x80070006: the handle is invalid.
>
>How could I solve the problem.
>
>Thanks.
>
>
>My Code :
>
>
>x=createobject('faxserver.faxserver')
>lcMachine = "\\"+GETWORDNUM(SYS(0),1)
>x.connect( lcMachine )
>
>FD = x.createdocument("filename")
>fd.faxnumber = '687-9870'
>fd.displayname = 'VFP Fax Message'
>fd.filename = fullpath("test.doc")
>fd.sendcoverpage = .f.
>
>fd.Send  <-------- error
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform