Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to programmatically Fax from VFP on Windows 7
Message
De
16/04/2013 12:11:56
 
 
À
16/04/2013 11:59:16
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Divers
Thread ID:
01571091
Message ID:
01571094
Vues:
84
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform