Hi,
I have Winfaxpro and am using this code to send a sample fax. However, as
soon as I run it, it brings up the Winfax pro dialog box with blank fields
and wants me to enter the fax #, etc. Can someone tell me what I am doing
wrong?
Thanks
---- Code ----
oWinFax = CreateObject("WinFax.SDKSend") &&Create instance of Winfax
oWinFax.SetSubject("Test Fax")
oWinFax.SetNumber("5551212") &&Fax Number of recipient
oWinFax.SetAreaCode("") &&Area Code of recipient
oWinFax.SetCompany("Some Company")
oWinFax.AddRecipient() && Required
oWinFax.SetPrintFromApp(1)
oWinFax.AddAttachmentFile("")
oWinFax.Send(1)
SET PRINTER TO NAME Winfax
set print on
?"this is a test"
set print off
SET PRINTER TO LPT1:
RELEASE oWinFax