Solved

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

Posted on 2004-04-19
6
840 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
Comment Utility
0
 

Author Comment

by:yorainy
Comment Utility
still not enough!!
0
 
LVL 15

Expert Comment

by:namasi_navaretnam
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
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 synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

771 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

8 Experts available now in Live!

Get 1:1 Help Now