Solved

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

Posted on 2004-04-19
6
842 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
eclipse error 7 93
java class in read only mode in eclipse 2 130
How to debug Angular JS in Visual Studio 2013 2 110
Insert several multiple frames into a single mainframe 3 57
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now