Search My Blog

Friday, April 29, 2022

STD Integrated Framework - PowerBuilder 2021 DDE Example!

  Hot News!

PowerBuilder DDE Application

Built using the STD Framework!

        Software Tool & Die Inc. are very pleased today to announce a new example application that demonstrate a fully working Dynamic Data Exchange (DDE) Client and Server application! This latest release of the DDE Client/Server applications are are all written in the latest PowerBuilder 2021version and are also using the latest STD Integrated Framework (2022R2 Beta)  ...


    In this original release, the DDE Demo Apps include the following features:

  • Built using PB2021 build 1509
  • Using STD Integrated Framework  v2022.2.0.185
  • Supports PB2021 Theme feature
  • Includes integrated Client & Server App logging
  • Incorporates MS-Windows notification utility
  • Deployment examples in 32/64bit and M-Code / P-Code
  • Tested the DDE code on W10 version 21H2 build 19044.1645
  • Tested the DDEcode on W11 version 21H2 build 22000.613
  • Ready for PowerClient or PowerServer 2021 deployment as well!

Actual DDE Client and DDE Server in action exchanging various messages & data!
 

    The deployed EXE's for the DDE Client and DDE Server are also included in the DDE App download. You can run either the Client or Server in mixed modes. For example a 32bit client and a 64 bit server (or vise versa), a P-Code client and an M-Code server (or vise versa), or any combination of the various DDE EXE's built from the STD Framework. The DDE features will work with any combination of the above EXE's. So this feature is just another tool in the PBToolBox that PB Developers can use to accomplish inter-application communication!

  You can download the new STD Framework DDE Demo App for PB2021 build 1509, as follows:

DDE Demo AppDownload 

STD Framework:  Download  (latest OrderEntry App using the Beta framework!)

   Enjoy ... please let me know what you think & if you have any feature suggestions that you might like me to add for future releases!

Regards ... Chris

 

\

 

 

Thursday, April 21, 2022

STD Integrated Framework - PowerBuilder 2021 BASE64 Example!

 ** Hot News **

STD Foundation Classes

Updated BASE64 Example Application released!

 

     Software Tool & Die Inc. today are very pleased to announce an updated Base64 Encoding / Decoding example application for Appeon PowerBuilder that was built from the latest STD Integrated Framework (version 2022.2.0.285 beta ) and the newest Appeon PowerBuilder PB2021 Maintenance Release release (build 1506. The min changes in this release are:
  • Migrated the code to PB2021 build 1506
  • Added "Theme" support for PB2021
  • Added "Corrupt" Base64 file handling check
  • Updated the BLOB processing feature (SQLAnyWhere v17)
  • Converted MessageBox() commands to STD Framework's "Message Box" feature. This allows a resizable message dialogue, automatic centering within the App and multiple monitor support.
  • Update the STD Framework to the latest version 2022.2.0.285
  • Tested the Base64 code on W10 version 21H2 build 19044.1645
  • Tested the Base64 code on W11 version 21H2 build 22000.613
  • Corrected GetFileOpen() bug
  • Added PowerClient App deployment project
  • Added PowerServer App deployment project

 
Base64 example from an ANSI text file!

     Base64 encoding and decoding is a critical  feature when processing XML and JSON files that contain binary datum. As well as using PowerBuilder's PBDOM feature, an XML DataWindow or interacting with Web Services that pass binary data back and forth (ie: JSON in a RESTFul web service). The received binary data will be in base64 encoded format - which is unusable to your PB application unless decoded (converted back) to its original binary state. Conversely, binary data that your PB application needs to send to other XML or JSON based applications must be converted (encoded) into the base64 standard.
 
PowerClient based Base64 example using Unicode text file!
 
Error handling for corrupt (incomplete) or wrong encoded Base64 files.


    The Base64 Example application utilizes standard Microsoft Base64 API's supplied by the MS-Windows O/S. These API's are now embedded in the framework's "nc_crypto_master" object class and easily called from your PowerScript code, as follows:
  • lo_crypto.of_base64_stringtobinary ( lblb_image , ls_base64 )

Base64 file translation into an image (or any other binary format for that matter)!
 

    The latest Base64 Example - along with the STD Integrated Framework is also able be used with PowerClient and PowerServer (Cloud) applications. Thus, the Base64 Example application can also be deployed to your favourite Web Server for convenient deployment. 
 
    You can download the Base64 Example application from the STD Framework's website by clicking here! You can also download either of the free open source STD frameworks for PowerBuilder, InfoMaker and PowerServer2021 by clicking here!

Enjoy!

Regards ... Chris
 

Thursday, April 14, 2022

AscentialTest fully supports Appeon PowerBuilder!

The only solution supporting ALL PowerBuilder Items

What if you could test your application automatically
as often as you want?

AscentialTest by Zeenyx fully supports PowerBuilder

  • It can manipulate any PB item for testing, especially Datawindows.
  • Cut down testing costs and eliminate regression bugs at the same time!
  • Define your tests once and run them anytime
  • Implement Continuous Testing

 

Learn More

 

Try AscentialTest

 

Automate the tests of your
PowerBuilder, PowerServer, and PowerClient apps

user-friendly

1. Create tests by pointing & clicking on your PB objects

2. Run or schedule tests as often as needed

3. Generate test reports and find regression bugs

DON'T re-create your tests
when the UI changes

Tests rely on application objects, not on screen recordings.
When a new version comes up, you can reuse most of your tests.

 

AscentialTest


 

Wednesday, April 6, 2022

STD Integrated Framework - PowerBuilder 2021 Multi-Threading Example!

** Hot News Item **

PowerBuilder 2021 - Multi-threading Example!


    Software Tool & Die Inc. (STD) are pleased to announce the release of an updated STD Integrated Framework example application that utilizes the framework to implement Application multi-threading! The multi-threading feature inside PowerBuilder has been around since version 5.0 when the Distributed PB feature was first introduced. However, it is not a well documented and known feature of the development tool. The STD Multi-threading example goes even further by allowing applications to utilize the vast resources of Integrated framework while taking multi-threading to a higher functional level. The framework allows the PB developer to easily implement multi-threading and be more productive at the same time! 
 
    The updated Multi-threading example application now utilizes the latest STD Integrated Framework (version 2022.2.0.285 beta released on 2022-04-04) and the newest Appeon PowerBuilder 2021 release (build 1506). Improvements in this release include:
  • Migration App code to PB 2021 build 1506
  • Migration of the STD Framework from 2019R1 to 2022R2
  • Removal of all Appeon Web product code.
  • Better performance (20% improvement). 
  • Tested the Base64 code on W10 version 21H2 build 19044.1645
  • Tested the Base64 code on W11 version 21H2 build 22000.613
Note: The STD Framework is the only PB framework in existence that is both thread aware and multi-thread safe!


    The Integrated framework allows each thread to be monitored by the frameworks performance dialogue, write to the O/S Console, log a message in the main tread's application log, share DBMS access, send messages back & forth between threads or between the main thread and its sub-threads, introspect the O/S, etc - just to name a few interesting aspects. Messages may also now be written to the MS-Windows Event Log and MS-Windows Debug logs as well from each sub-thread!


  The latest STD multi-threaded PowerBuilder example application can now be downloaded from the SourceForge website. Please click here to download & enjoy!
  
  For a complete PowerPoint presentation on how Multi-Threading in Appeon PowerBuilder works, please click here to download this PPT presentation.
  

Regards ... Chris