Before using window XP. I am using window98 + winfax 10.0 .It seems everything work fine.
However, as i use windox XP with winfax 10.0 . There is a great problem
Each time i fax the report from my vfp system. There is a winfax pro window prompt out and it ask me to input the fax number.
In fact, my program had already put faxno into the object.
I had d/l the sample from
www.levelextreme.com but it still got the same problem
Here is my code :-
*************************************************************************
pSubject = ThisForm.txtSubject.value
pNumber = ThisForm.txtFaxNo.value
pCompany = ThisForm.txtCompanyName.value
IF EMPTY(pNumber)
MESSAGEBOX("Fax Number Cannot Be Blank!",16,"Error Message")
RETURN
ENDIF
oWinFax = CreateObject("WinFax.SDKSend")
oWinFax.SetUseCover(0)
oWinFax.SetQuickCover(0)
oWinFax.SetSubject(pSubject)
oWinFax.SetNumber(pNumber)
oWinFax.SetCompany(pCompany)
oWinFax.SetPrintFromApp(1)
&&oWinFax.ShowCallProcess(0)
oWinFax.AddAttachmentFile("")
oWinFax.AddRecipient && Required
oWinFax.Send(1)
oWinFax.LeaveRunning
Do u got any idea ??
Thanks in advance.
From Agnes
Hong Kong
(The above code works find on window98, but not in window XP)