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
Programming Languages-Other

Avatar of undefined
Last Comment
Dirk Haest

8/22/2022 - Mon
Meir Rivkin

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
Harish Varghese

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Dirk Haest

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes