You are currently browsing all posts tagged with Powerbuilder

Getting your COM component Registered for use with PowerBuilder

Posted on November 5, 2012 at 7:29 pm in

I built a COM component to allow for the taking of pictures from a webcam in PowerBuilder. The component itself was done in Visual Studio 2010 in C# and makes use of a web camera control created to use the Directshow API library available as part of the Windows SDK. You can find more information…

Getting your COM component Registered for use with PowerBuilder - the full story »

PowerBuilder – Update the Datawindow object definition programatically

Posted on October 11, 2012 at 6:31 pm in

I’m doing some work on an application to aid in the mass update of various datawindow attributes. It’s not rocket science since you are dealing with a series of text files and doing some basic ‘find and replace’ operations. However, if you have ever worked on a project which has been around for a while…

PowerBuilder – Update the Datawindow object definition programatically - the full story »

PowerBuilder ‘Gotcha’ – Column lists do not match

Posted on September 11, 2012 at 8:08 pm in

This is more of a database driver error but I encountered it within a datawindow I was working on so PB gets credit. I was working on a generic data drill down control which has a filtering process to eliminate data based on a date argument. Since I also wanted this date value for other…

PowerBuilder ‘Gotcha’ – Column lists do not match - the full story »

PowerBuilder ‘Gotcha’ – Strings, Describe and Position Attributes

Posted on September 6, 2012 at 6:40 pm in

So I’m getting the position attributes of a column in a datawindow to aid in the display of another visual object. What I initially coded was this: ll_open_x = Long(adw.describe(as_colname + '.X') + & adw.describe(as_colname + '.height')) + 10 I run the window and my visual object is no where to be seen. Looking in…

PowerBuilder ‘Gotcha’ – Strings, Describe and Position Attributes - the full story »

PowerBuilder ‘Gotcha’ – Invalid Expression Error Message

Posted on August 31, 2012 at 6:58 pm in

So customer support calls regarding an issue a client is experiencing on a periodic basis. The receive an error ‘Invalid Expression’. To make things worse they get a series of these messages popping up and eventually the application crashes. Great. So we look at the datawindow object on the application window they are having issues…

PowerBuilder ‘Gotcha’ – Invalid Expression Error Message - the full story »

PowerBuilder Developers Conference – October 15-19, 2012

Posted on August 1, 2012 at 8:22 am in

I will be presenting two sessions at this years conference in Las Vegas. Restocking the Eye Candy Store – Visual Upgrade Techniques in PowerBuilder Abstract: Changing the User Interface in a PowerBuilder application can be a labor-intensive exercise if done solely within the IDE. This presentation will offer tips to planning, testing, and executing on…

PowerBuilder Developers Conference – October 15-19, 2012 - the full story »

Comment on PowerBuilder Developers Conference – October 15-19, 2012 »

PowerBuilder ‘Gotcha’ – SyntaxFromSql and System Fonts

Posted on July 12, 2012 at 5:56 pm in

So a user of an application I work on is getting an error when opening a window which contains a dynamic datawindow. The open process reads a table and then dynamically creates a grid datawindowobject with the same number of columns as the data which is retrieved from the table. The process itself uses the…

PowerBuilder ‘Gotcha’ – SyntaxFromSql and System Fonts - the full story »

PowerBuilder ‘Gotcha’ – Grid Datawindows with Picture Controls

Posted on June 27, 2012 at 6:14 pm in

So I’m working on a ‘dashboard’ style datawindow in an application which shows a grid of data along with some graphics so the user can easily see changes/important stuff. There are a number of reasons to use a grid datawindow for this, especially since they can easily be changed by the user to suit their…

PowerBuilder ‘Gotcha’ – Grid Datawindows with Picture Controls - the full story »

I should have known this would happen…

Posted on June 19, 2012 at 6:27 pm in

So I’m encountering an issue in PowerBuilder where I’m creating a datawindow object from a dynamically built SQL statement and a user is getting some wonky results along with a cryptic “datawindow release number is incorrect” message. A quick Google and then… Fine time for a single search hit…

I should have known this would happen… - the full story »

PowerBuilder – Using C# Visual Objects in PB Classic Applications

Posted on June 18, 2012 at 5:16 pm in

This article will explain how to build a COM visual component in C# using Visual Studio 2010; it is an extension of my earlier example of using the Interop Forms Toolkit to build a Visual Basic COM object. First you need to install the Microsoft Interop Toolkit (available here). Then download the C# Interop Form…

PowerBuilder – Using C# Visual Objects in PB Classic Applications - the full story »

Top