Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, Can WinFax guru tell me what

Status
Not open for further replies.

venado

Programmer
Nov 28, 2000
35
CA
Hi,

Can WinFax guru tell me what is wrong with this code?

oFaxObject=CreateObject('WinFax.SDKSend8.0')
SET PRINTER TO NAME "WinFax (Photo Quality)" mFaxno="5251136" && Allt(Fax_Number)
TYPE "C:\COSTR\236209.TXT" TO PRINTER
oFaxObject.SetTo("ALINE LEFVRE")
oFaxObject.SetNumber("5251136") && (mFaxno)
oFaxObject.SetSubject("Testing")
oFaxObject.AddRecipient()
oFaxObject.Send(0)

The phone number, the recipient, the subject and the send does seems to work. However the the application and the text file are invoked.

Any Idea!!!!

thanks,
venado
 
I've never used it myself, but you might try adding a DOEVENTS command after the PRINT command. It tells VFP to go ahead and process pending events which might give WinFax time to actually receive the data from the Print Manager.

Just a brainstorm...might not have anything to do with it, but it's something simple you can try. :eek:)

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top