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…
You are currently browsing all posts tagged with Powerbuilder
Getting your COM component Registered for use with PowerBuilder
PowerBuilder – Update the Datawindow object definition programatically
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 ‘Gotcha’ – Column lists do not match
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’ – Strings, Describe and Position Attributes
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’ – Invalid Expression Error Message
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 Developers Conference – October 15-19, 2012
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…
Comment on PowerBuilder Developers Conference – October 15-19, 2012 »
PowerBuilder ‘Gotcha’ – SyntaxFromSql and System Fonts
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’ – Grid Datawindows with Picture Controls
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…
I should have known this would happen…
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…
PowerBuilder – Using C# Visual Objects in PB Classic Applications
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…