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

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