Solved

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

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

719 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