Search My Blog

Wednesday, January 31, 2024

Windows Notification Utility (2024 R1)

 

 ** Hot News **

Updated MS-Windows Notification Utility

For PowerBuilder version 2022 R3 build 3289!

     Software Tool & Die Inc. are please to announce an updated MS-Windows Notification application built from the latest free open source STD Integrated Foundation Classes (version 2024 R1) and specially designed for the latest Appeon PowerBuilder version PB2022 R3 build 3289! The Foundation Classes provide most of the Notification Utility's functionality. The Windows Notification feature works for any Native, PowerClient or PowerServer based PB Application!

         The notification utility application takes the notification information as a command line argument when called from your PB App. This release supports both a 64 bit P-Code, 32 bit P-Code &  32 bit M-Code compilation. To use this from your current PB App, you can just call one of the EXE's as follows (for example):
 
  • pbnotify32M.exe Time=5,Name=STD Framework,Msg=This is a test message from the calling application!
  • pbnotify32P.exe Time=5,Name=STD Framework,Msg=This is a test message from the calling application!
  • pbnotify64p.exe Time=5,Name=STD Framework,Msg=This is a test message from the calling application!

Where ...

Time=nn          // Time to display (seconds)
Name=xxxx    // Application Name
Msg=xxxx      // User message to display

The resulting W10 / W11 notification would appear like so        ==>

 The notification application has the following uses ...
  • The application returns an O/S return code. +1 for OK and -1 for fail. Tip: You can check this RC if you use the STD Frameworks "Run & Wait" feature.
  • The application will only work when run in Windows 10 and higher versions of MS-Windows.
  • It can be called from any Application EXE type (not just PB), Batch command file, PowerShell or Windows scheduler script (just to name a few options)!
  • Simultaneous messages can appear if the Application Name or message text are different.
  • Compatible with both PowerClient and PowerServer deployed Apps!
    Due to the fact that the Notification application is built from the STD framework, logging is also automatically performed so that you can check the status of the notification processing, as follows:


Updated Notification Log uses latest STD Framework!


    The updated Notification application for Appeon PB2022 R3 build 3289 can be downloaded and used for free from the SourceForge web site ... just click here! It is also comes ready to work in an already compiled 32 bit or 64 bit EXE's as well!

   Check out how it can be called and how it actually works when called from any Application (PB or other platform). Try the STD Framework example OrderEntry application.  

Note: this utility has also now been tested with the latest W10 and W11 (23H2) of the MS-Window's O/S as well!

 

Enjoy!