General information
Category:
COM/DCOM and OLE Automation
Title:
Winfax 10 & Windows 2000
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only