Tech Articles


Create Multiple DSNs from a single PostgreSQL Driver


FYI -

Summary:
   You can create multiple databases from a single PostgreSQL driver.

Details:
PowerBuilder R2019R3
PostgreSQL 12
Windows 10


These instructions assume that at least one PostgreSQL driver has been successfully installed onto the Windows 10 platform.

Read more

Defining a PostgreSQL Database Profile in PB2019R3


PB2019R3
PostgreSQL v12 database


Summary:
   Ensure that the database properties are defined correctly for the PostgreSQL database in the DB Painter.

   If those properties are not defined correctly, the PB2019R3 IDE automatically creates the PB Catalog tables in the "public" schema every time it connects to the PostgreSQL (PG) database even if the catalog tables are already defined in the named "PowerBuilder Catalog Table Owner" schema.

 

Read more

Call SOAP Web Services Using HTTPClient Object


Since PowerBuilder 2017 R2, we have a new HTTPClient object, which is a base object for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. Compared to the Inet object, the HTTPClient object is easier to use and supports more methods (Get/Post/Put/Delete) and more SSL protocols (TLS 1.0, TLS 1.1, TLS 1.2, SSL 2.0, and SSL 3.0).

Among other things, the HTTPClient can be also used to consume SOAP Web services. This is particularly useful as the Web Service Proxy has many limitations and defects calling SOAP Web services such as not supporting TLS 1.2. This article is to show how you can use the new HTTPClient to call your existing SOAP Web services instead. 

Read more

Generating a QR code using QRCoder


QRCoder is an open source .Net assembly for creating QR Codes.  What we're going to do is wrap that with an assembly in SnapDevelop we can use from PowerBuilder.  First thing we need to do is create a .Net standard Class Library project in SnapDevelop.

Read more

Git for a single developer


Let's say you're an independent contractor or a one person shop.  You want to take advantage of the source control features of Git, but you don't want to have to set up a server just for one developer.  Fortunately, you don't have to.  We're going to walk through the steps of connecting PowerBuilder to a local directory based repository.

Read more

Detecting a smart card insertion/removal from PowerBuilder


This is a follow up article to an earlier article I wrote called Communication with a smart card from PowerBuilder. In that article I showed how to interact with a smart card once it was inserted in the reader.  In this article, we're going to look at how we can monitor the card reader to determine when the user inserts or removes a smart card from it.

Read more

Spell checking in the new PowerBuilder 2017 Rich Text Edit Control


The original Rich Text Editing control shipped with PowerBuilder was based on an OEM of a popular third party control at the time called HighEdit. By the time 10.5 came out though, that control was quite dated and no longer supported by the vendor. As a result, in 2006 Sybase replaced that control with an OEM of another popular third party control called TX Text Control. There are licensing issues with that control though.  So with the release of PowerBuilder 2017 Appeon updated the control again, replacing the OEM of the TX Text Control with an OEM of the TE Edit Control. Note that if you encounter regressions with the new control you can switch back to the TX Text Control through a new RichTextEdit option in the Additional Properties dialog for the application object.  If you do however, you will have to obtain your own license of TX Text Control.

 

Read more

Find Articles by Tag

PBDOM CI/CD Event Handling Branch & Merge OLE Database Table Schema Event Handler Elevate Conference File License Database Object MessageBox Mobile Automated Testing Import RibbonBar TreeView Error .NET Assembly PostgreSQL ODBC driver Variable External Functions NativePDF InfoMaker Debugger Authorization Encoding UI Configuration Graph ActiveX Script OrcaScript Messagging SqlModelMapper PowerScript (PS) Web Service Proxy PDFlib SQL Server Service Platform JSONParser XML Import JSON Debugging Installation WinAPI Testing 64-bit Windows OS Encryption Linux OS Window Repository API REST Stored Procedure Transaction Validation SVN Database Table Interface Sort Git DataWindow SOAP Azure C# Bug PowerBuilder JSONGenerator Oracle DataType Expression Database Profile TFS COM Text Windows 10 Icons Jenkins OAuth 2.0 JSON Android Application Charts PowerServer Mobile PowerBuilder Compiler OAuth .NET DataStore Migration DataWindow JSON SnapObjects RibbonBar Builder SnapDevelop Source Code DLL Performance Data IDE UI Modernization UI Themes RESTClient SDK DragDrop Array 32-bit TortoiseGit Menu Deployment Excel DevOps .NET Std Framework PDF TLS/SSL Database Painter Event Export JSON iOS Export Filter PostgreSQL BLOB Outlook Database Connection WebBrowser ODBC Open Source RichTextEdit Control Resize SqlExecutor Database Syntax Model Trial HTTPClient CrypterObject PFC Database Table Data GhostScript Web API Class PowerBuilder (Appeon) PowerServer Web Icon Authentication Source Control CoderObject SQL Debug Design