Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to programmatically Fax from VFP on Windows 7
Message
From
17/04/2013 07:41:35
 
 
To
16/04/2013 12:11:56
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01571091
Message ID:
01571200
Views:
78
>Hi Marcia, long time no see! This is a piece of code which I think Christof showed somewhere many moons ago. I think it still works.
>ox=CREATEOBJECT('faxcomex.faxserver')
>ox.Connect('')
>oxd=CREATEOBJECT('faxcomex.faxdocument')
>oxd.Body='D:\temp\doc.pdf'
>oxd.DocumentName='Tore documentname'
>oxd.Recipients.Add('033305050')
>oxd.Sender.Email='tore@somedomain.no'
>oxd.Sender.Name='Tore the great'
>oxd.Sender.FaxNumber='123456'
>oxd.ConnectedSubmit(ox)
>If you leave out the fax number, I think it will email, and vice versa.
>
>Update: Here's a link to Christof's message: Message ID: 1423102

Thanks, Tore.

I will try this out later today.
Previous
Reply
Map
View

Click here to load this message in the networking platform