Link to home
Start Free TrialLog in
Avatar of srik_mat
srik_mat

asked on

PB Batch Program

Short background about the application

My application uses Powerbuilder 12 as the frontend and Oracle 11g as backend. We use VC++ for the batch process for A -> A and B -> B transactions.

My PB application  has many customized printing functionalities developed within itself like printing reports, invoices etc . So far everything has been done through the application PB screens on demand when "Print" button is clicked by the user.

Now we are planning to enhance the system to print some reports in batch mode.

Is there a way that we can write a Powerbuilder batch program which connects to the Powerbuilder application EXE and trigger some print functions within the application based on various flags in the table level? What would be the best way to do it? Any idea about this would be of great help.

Thanks,
Srikanth
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

i'd use windows messages to trigger any function in your powerbuilder exe application.

basically, u define WM_USER  in your app and use Send() to send the message with some parameters.

check this link:
http://pbdj.sys-con.com/node/198707?page=0,1
ASKER CERTIFIED SOLUTION
Avatar of Harish Varghese
Harish Varghese
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.