WinFax OLE
Posted: Sat Apr 22, 2006 2:24 pm
Dear friends, I'm searching for samples on how to drive WinFax via OLE.
Thank you.
EMG
Thank you.
EMG
www.FiveTechSoft.com
https://fivetechsoft.com/forums/
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIAlOG oDlg
@ 1, 1 BUTTON "Send fax";
ACTION SENDFAX()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
STATIC FUNCTION SENDFAX()
LOCAL oFax := CREATEOBJECT( "WinFax.SDKSend" )
oFax:LeaveRunning()
oFax:SetCoverText( "This is the fax cover." )
IF FILE( CURDRIVE() + "\" + CURDIR() + "\TEST.DOC" )
oFax:AddAttachmentFile( CURDRIVE() + "\" + CURDIR() + "\TEST.DOC" )
ENDIF
oFax:SetNumber( "your fax number" )
oFax:AddRecipient()
oFax:Send( 0 )
RETURN NIL
How do I get this object. Should I link any library like WINFAX.LIBLOCAL oFax := CREATEOBJECT( "WinFax.SDKSend" )
Exactly.Taiwan wrote:Hello RAMESHBABU,
I think no. Because You should be install WinFax software.
It's include ActiveX DLL or OCX ....file and start itself.
Regards,
Richard