You are currently browsing the post archives for February 2012.

100 Days of Powerbuilder – Day 4: A Look at the IDE

Posted on February 29, 2012 at 5:58 pm in

This is part of my project ‘100 Days of PowerBuilder’ which is a series of discussions focused on basic PowerBuilder development. Note: This article is written with examples created in PowerBuilder version 12.5. Most steps/examples will be identical with any version going back to 9. Mastering the PowerBuilder Integrated Development Environment (IDE) is the key…

100 Days of Powerbuilder – Day 4: A Look at the IDE - the full story »

Comment on 100 Days of Powerbuilder – Day 4: A Look at the IDE »

PowerBuilder – Fontheight method in Expressions

Posted on February 29, 2012 at 2:29 am in

An enhancement was put into PB12.1 dealing with determining the height of a datawindow column based on its font setting. It’s called Fontheight and takes a string parameter. Unfortunately there does not appear to be any documentation on it in the PB help files (I’m looking in PB12.5). You can see a reference to it…

PowerBuilder – Fontheight method in Expressions - the full story »

Coding for Amateurs

Posted on February 27, 2012 at 5:02 pm in

Bumped into this code the other day. Hmmmm… //b_paint_good is a boolean set somewhere else IF NOT b_paint_good THEN //do not do something here [code follows] ELSE // do something here [more code follows] END IF Now what’s the point of this? Trying to raise the defect count on your software (in the immortal words…

Coding for Amateurs - the full story »

100 Days of Powerbuilder – Day 3: Window Properties

Posted on February 23, 2012 at 5:47 pm in

This is part of my project ‘100 Days of PowerBuilder’ which is a series of discussions focused on basic PowerBuilder development. Note: This article is written with examples created in PowerBuilder version 12.5. The most steps would be identical with any version going back to 9. Continuing with the window we created on Day 2…

100 Days of Powerbuilder – Day 3: Window Properties - the full story »

Comment on 100 Days of Powerbuilder – Day 3: Window Properties »

Windows Installer Error – “Installshield error 1500”

Posted on February 20, 2012 at 8:02 am in

So I finally upgraded my laptop to Windows 7 from (shudder) Vista. Not a big deal, just pop in a new hard drive (four times larger than old one). Boot from the install CD and go to town. After the os install, now all the other Microsoft products (Visual Studio, SQL Server, Service Packs, etc.).…

Windows Installer Error – “Installshield error 1500” - the full story »

100 Days of PowerBuilder – Day 2: Creating a Main Application Window

Posted on February 14, 2012 at 6:17 pm in

This is part of my project ‘100 Days of PowerBuilder’ which is a series of discussions focused on basic PowerBuilder development. Note: This article is written with examples created in PowerBuilder version 12.5. The most steps would be identical with any version going back to 9. For the purposes of this exercise I will be…

100 Days of PowerBuilder – Day 2: Creating a Main Application Window - the full story »

PowerBuilder – Finding special folders – FDCC Compliance

Posted on February 14, 2012 at 6:03 pm in

Here is a link to an article by Bruce Armstrong (since broken) relating to new functionality in PB11.5.  The article specifically deals with FDCC (Federal Desktop Core Configuration)  Compliance in PB apps and specifically the SHGetFolderPath Windows API function.  Although this information has been available for awhile, it’s worth noting again. Usage Notes: function ulong SHGetFolderPath(ulong hwndOwner,…

PowerBuilder – Finding special folders – FDCC Compliance - the full story »

100 Days of PowerBuilder – Day 1: Creating a Workspace

Posted on February 11, 2012 at 4:36 pm in

This is part of my project ‘100 Days of PowerBuilder’ which is a series of discussions focused on basic PowerBuilder development. Note: This article is written with examples created in PowerBuilder version 12.5. The same steps would be almost identical with any version going back to 9. When you first install Powerbuilder Classic and the…

100 Days of PowerBuilder – Day 1: Creating a Workspace - the full story »

PowerBuilder – Where is Autoscript?

Posted on February 10, 2012 at 6:55 pm in

The autoscript feature in Powerbuilder is something I’ve come to rely on quite heavily, especially when dealing with user objects and such which you may be unfamiliar with (…do I pass two ints and a string or two strings and an int?). However, it is a feature which can frustrate you in just trying to…

PowerBuilder – Where is Autoscript? - the full story »

PowerBuilder – More Datawindow Mouseover Effects

Posted on February 9, 2012 at 8:24 pm in

So I download the latest Chrome browser beta the other day (v17) and I notice a neat effect on the tabs prior to applying my custom settings. A gradient centered on my mouse pointer passed across the tab as I moved it. It was very subtile but noticiable if you were paying attention. Naturally I…

PowerBuilder – More Datawindow Mouseover Effects - the full story »

Top