Solved

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

Posted on 2004-04-19
6
851 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

732 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