Solved

how can i send fax with powerbuilder application without any interruption of any user?

Posted on 2004-04-19
6
849 Views
Last Modified: 2013-12-26
how can i send fax with powerbuilder application without any interruption of any user?
Could you please post an example (script) that explain how can i send fax with powerbuilder application without any interruption of any user (program get the fax number from the list and send fax to target fax number)

Thanks very much..
0
Comment
Question by:yorainy
  • 2
6 Comments
 
LVL 15

Expert Comment

by:namasi_navaretnam
ID: 10864205
0
 

Author Comment

by:yorainy
ID: 10864236
still not enough!!
0
 
LVL 15

Expert Comment

by:namasi_navaretnam
ID: 10864298
Would you explain why not enough? Are looking for code to loop thru records in a text file and read fax numbers?
0
 
LVL 33

Accepted Solution

by:
sajuks earned 125 total points
ID: 10865901
Download The WinFaxPro SDK
http://www.symantec.com/winfax/sdk.html

Sample Code:

OLEObject objWinfaxSend
Integer li_rtn

objWinfaxSend = CREATE OLEObject
rtn= objWinfaxSend.ConnectToNewObject("WinFax.SDKSend")

objWinfaxSend.SetUseCover(1)
objWinfaxSend.SetSubject(SUBJECT 'TEST')
objWinfaxSend.SetCoverText(COVERT TEST)

IF objWinfaxSend.AddAttachmentFile("c:\abc.tx") = 1 THEN
 Messagebox("Error, "File Not Found")
 return
end if

objWinfaxSend.SetNumber('12345678910')

objWinfaxSend.AddRecipient()

IF objWinfaxSend.Send(0) = 1 THEN
 MessageBox('Error',Fax Not Sent)
END IF

------------------------------
Once you have installed winfaxpro you should be able to browse through the object browser the different methods/functions.

Hope that Helps
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question