Search My Blog

Thursday, December 16, 2021

STD Integrated Framework - MS-Windows Notification Utility

 ** Hot News **

Updated MS-Windows Notification Utility

PowerBuilder version 2021 build 1311!

     Software Tool & Die Inc. are please to announce a new MS-Windows Notification application built from the latest free open source STD Integrated Foundation Classes and specially designed for the latest Appeon PowerBuilder version PB2021 build 1311! The Foundation Classes provide most of the Notification Utility's functionality. Now also working for PowerClient and PowerServer based PB Apps as well!

         The notification utility application takes the notification information as a command line argument when calling the executable, for example (as follows):
  
pbnotify32p.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 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.
  • The application will only work in MS-Windows 10 and higher
  • Can be called from any Application EXE, Batch, PowerShell or Windows scheduler script!
  • Simultaneous messages can appear if the Application Name or message text are different.
    Due to the fact that the Notification application is built from the STD framework, logging is automatically performed so you can check the status of the notification processing, as follows:


Example of the Notification Utility's Log File



    The updated Notification application for Appeon PB2021 build 1311 can be downloaded and used for free from the SourceForge web site ... just click here!

   Check out how it can be called and how it actually works when called from another PB Application. Try the STD Framework example OrderEntry application. Note: this utility can also work with PowerServer Web applications as well!

Enjoy!

No comments:

Post a Comment