All examples include a PB10.5 version and most have a PB12.6 version. The PB12.6 versions are verified to work in 64bit. PowerServer doesn't support the longptr type so you must use the PB10.5 version in that environment.
Before downloading one of the free code examples, please review the license terms here.
If you find this code really useful and would like to donate, click the PayPal button in the upper right corner.
Click here to download an installer for all the free code samples: WebExamples
This program shows how to capture a bitmap of a control, window or screen. The image is returned as a blob variable which can be written to disk as a .bmp file. The capture function optionally will save the image to the clipboard. It also uses the RunAndWait object to load the .bmp into your image editor.
Click here to download the PowerBuilder sample: BITMAP.ZIP
——— Last updated 11/04/2019 ———