Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to programmatically Fax from VFP on Windows 7
Message
From
16/04/2013 12:11:56
 
 
To
16/04/2013 11:59:16
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:
01571094
Views:
85
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

>Hi all.
>
>The title says it all.
>
>Anyone got some sample code that does this?
>
>Do I need to purchase a third party tool or can I do this from Windows 7 without one?
>
>TIA.
>
>Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform