smartglass
IS-IT--Management
Hi:
I have some great help in preparing a macro to fax reports to customers and am trying to follow drlex's advice to avoid send keys. I know Impromptu and Winfax are both OLE complaint but cannot get even a basic fax to go.
Is anybody familiar with OLE automation between these 2 products?
Here is my sample code:
Sub main()
Dim Winfax as Object
Set WinFax = CreateObject("WinFax.SDKSend")
Winfax.ShowSendScreen(1)
WinFax.SetSubject("test")
WinFax.SetNumber("123456")
WinFax.SetTo("ABC Company")
WinFax.SetPrintFromApp(1)
WinFax.AddAttachmentFile("test.pdf")
WinFax.SetCoverText(" ")
WinFax.SetQuickCover(0)
Winfax.ShowCallProgress(1)
WinFax.Send(0)
end sub
Do I need to activate the application?
Thanks!
I have some great help in preparing a macro to fax reports to customers and am trying to follow drlex's advice to avoid send keys. I know Impromptu and Winfax are both OLE complaint but cannot get even a basic fax to go.
Is anybody familiar with OLE automation between these 2 products?
Here is my sample code:
Sub main()
Dim Winfax as Object
Set WinFax = CreateObject("WinFax.SDKSend")
Winfax.ShowSendScreen(1)
WinFax.SetSubject("test")
WinFax.SetNumber("123456")
WinFax.SetTo("ABC Company")
WinFax.SetPrintFromApp(1)
WinFax.AddAttachmentFile("test.pdf")
WinFax.SetCoverText(" ")
WinFax.SetQuickCover(0)
Winfax.ShowCallProgress(1)
WinFax.Send(0)
end sub
Do I need to activate the application?
Thanks!