Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winfax 10.0 + window XP
Message
De
27/05/2002 05:50:18
Agnes Cheng
DynamicTech Consultants Ltd.
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Winfax 10.0 + window XP
Divers
Thread ID:
00661609
Message ID:
00661609
Vues:
48
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)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform