Tech Articles


Inno Setup: Sample .ISS File


PowerBuilder v12.1, build 7055
Windows 7 32 bit platform
Windows 7 64 bit platform
Windows 10, 64 bit platform


A Sample Inno Setup ".ISS" File
Olan Knight
28-Mar-2019


Once upon a time, long, long ago, we used a product called InstallShield to create the Windows installer for our various products. Over time, the cost for InstallShield became prohibitive, and we eventually settled on using Inno Setup as the replacement tool to create out installers.

You can get the free tool here:    http://www.jrsoftware.org/isinfo.php
The excellent HELP file is here:     http://www.jrsoftware.org/ishelp/   

It's a simple and intuitive tool, but it has some quirks and there is a learning curve. 
Inno Setup uses an ".iss" file as its source code. It compiles that ISS file into the SETUP.EXE for your application, with the file name being up to you.

Read more

Working with Branches in Git for PowerBuilder


One of the reasons that people choose to use Git is how easy it is to do branching. Unfortunately, PowerBuilder hasn't implemented it yet. But that doesn't stop you from using this feature if you don't mind taking a few extra steps. This article shows you how you can work on different branches with the help of TortoiseGit. 

Read more

Applying a New UI Theme to Your Application


In PowerBuilder 2019, 3 new UI themes are provided to control how PowerBuilder’s commonly-used controls render in runtime applications. These new UI themes adopt a “Windows 10” style to enhance the appearances of applications. For detailed description of the themes, see Understanding system themes and Details on the theme settings and their effects.

You can directly control whether an application applies a new UI theme, or provide users with the ability to select a preferred theme by themselves. For details, see Applying a theme.

It is possible for you to modify a system theme through changing the theme template files, or to copy a system theme to create a custom theme. This way, you can further tune the color settings in the theme to your personal preference. For details, see Creating a custom theme.  

You may want to use the UI theme settings together with the PowerBuilder IDE settings and scripting techniques to achieve optimum UI effects. For samples on how to start the work, see Several useful techniques to further adjust your user interface.

Read more

POWERBUILDER AND GRAPH DATABASES


POWERBUILDER AND GRAPH DATABASES

Because I could find nothing, anywhere, regarding PowerBuilder (PB) and graph databases (GDB), I thought I’d provide some information following some dabbling with this emerging (well, emerged now) technology.

I developed a keen interest in GDBs after a contracting friend who does some work for me had attended a NEO4J course – he contacted me and said the application I develop would be ideally suited for a GDB.

I looked at NEO4J and quickly realised the code would not fit with the PB my application.  Then another friend advised that MS SQLServer had introduced basic graph DB features in its 2017 version, with enhancements expected to follow.   I gave it a try.

(I should point out that I’m not an experienced programmer - self-taught, I work alone so I can’t learn from peers, too busy on my work to go off and learn new skills, long in the tooth, and need to get a twelve-year-old to change my digital watch at daylight savings.  So the caveat is that experienced programmers may know ways far better than I’ll lay out here.)

Read more

PDF Enhancements in PowerBuilder 2017 R3


With the release of PowerBuilder 2017 a new native method of exporting DataWindows to PDF became available.  There were some enhancements to that functionality added in R2 and in R3 that we're going to look at in this article.

Read more

PostgreSQL Enhancements in PowerBuilder 2017 R3


The support for PostgreSQL that was added in R2 was covered in an earlier blog post.  The enhancements in R3 are primarily related to addition entries added to the PBODB170.INI file.  These additional entries provide more support for maintaining tables, views, primary and foreign keys, users and groups in the database painter.  

Read more

Stand Alone Compiler Enhancements in PowerBuilder 2017 R3


In an article on the enhancements that were added to the stand alone compiler in R2, I remarked on an issue on how file version information was handled in the initial release, and which was still a problem in R2.  Fortunately, R3 corrects that issue.

Read more

Find Articles by Tag

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