Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winfax 10 & Windows 2000
Message
De
06/06/2002 15:11:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Winfax 10 & Windows 2000
Divers
Thread ID:
00665642
Message ID:
00665642
Vues:
51
VFP 6.0 SP5.

I am trying to programmatically send faxes using winfax 10 and windows 2000 without getting the winfax send dialog box. I am using the following code in windows 98 and it works perfect. Using windows 2000, it works sometimes, but other times it brings up the winfax send dialog box.

This is the code that I'm using.

oFax=CreateObject("WinFax.SDKSend")
oFax.LeaveRunning
ofax.setTo("")
oFax.SetCompany(Ccompanyname)
oFax.SetSubject(Csubject)
oFax.SetNumber(Cfaxnum)
oFax.AddAttachmentFile("")
oFax.SetPrintFromApp(1)
oFax.AddRecipient
oFax.Send(0)
set printer to name winfax
report form autofax.frx to printer noconsole noeject
RELEASE oFax

TIA,
Rob
Répondre
Fil
Voir

Click here to load this message in the networking platform