Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winfax 10 & Windows 2000
Message
From
06/06/2002 15:11:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Winfax 10 & Windows 2000
Miscellaneous
Thread ID:
00665642
Message ID:
00665642
Views:
54
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
Reply
Map
View

Click here to load this message in the networking platform