Dear friends, I'm searching for samples on how to drive WinFax via OLE.
Thank you.
EMG
#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
LOCAL oFax := CREATEOBJECT( "WinFax.SDKSend" )
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
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 44 guests