Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fax
Message
 
À
05/10/2006 00:52:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Fax
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01159259
Message ID:
01159690
Vues:
14
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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform