Welcome!

PowerBuilder Tips, Tricks, and Techniques

Arthur Hefti

Subscribe to Arthur Hefti: eMailAlertsEmail Alerts
Get Arthur Hefti via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Arthur Hefti

The ClassDefinition object was introduced in PowerBuilder 6.0 a long time ago. It allows you to retrieve information for an object at runtime. Most of us didn't pay too much attention to this object and it only attracts our attention when we see it in the debugger. In this article I provide an overview of the ClassDefinition object and related objects and explain the most important properties of these objects. I also include a step-by-step guide on how to build a simple object browser. This browser has a limited functionality like the browser included in the PowerBuilder runtime environment and can't replace products like PBLPeeper by Terry Voth or PBBrowser by OOWidgets. The ClassDefinition Object Hierarchy The classdefinitionobject is a descendant of the pbtocppobject. It's the ancestor of all the other objects used to describe the PowerBuilder objects. Each objec... (more)

Prognos with DataWindow.NET 2.0 and PowerBuilder 11 Web Services

Prognos is an application used over the Internet to determine if it makes sense to apply for a scholarship. It's part of a program package used in a couple of cantons (the equivalent of a state in the U.S.) in Switzerland to manage applications for a scholarship. The current version runs with DataWindow.NET 2.0 and uses PowerBuilder 11 Web Services. To keep the installation slim it uses no database; instead the data is stored in DataWindows or XML files. Prognos makes use of AJAX techniques and accesses .NET classes from PowerBuilder for XML handling. Since it's used in Switzerl... (more)

PowerBuilder .NET Web Services with Various Front Ends

Last year I wrote an article in PBDJ describing an ASP.NET project that was done with DataWindow.NET in the browser ("Prognos" Volume 14, Issue 4) and PowerBuilder Web Services in the back end. The front end consisted of an intro page, two data entry pages, and one page with the result. The front end was rewritten in a couple of other technologies to test different ways to create browser-based applications. This article covers solutions that run in different browsers and on different operation systems. I will also look at PowerBuilder 11.2 Webform although it is IE-only. At the ... (more)

"Plug-in Power for PowerBuilder Applications" im ISUG Journal Erschienen

PBDJ Blog Post Der Artikel von Arthur Hefti "Plug-in Power for PowerBuilder Applications" ist in der Publikation der ISUG (International Sybase User Group) erschienen. Der Artikel zeigt wie EnableRex über Plug-ins erweitert werden kann. Als Beispiel der Integration dient die CATsoftPDF (DataWindow nach PDF Converter) Library. Die Ausgabe September - Dezember 2009 ist eine Doppelausgabe und kann als ISUG Mitglied gelesen werden. ... (more)

Using PowerBuilder Assemblies in .NET

PBDJ Feature Story There's a lot of "legacy" PowerBuilder code that you might want to access from .NET applications or perhaps PowerBuilder has some superior functionality that you would like to make use of in a .NET application. Think about how easy it would be to create a report in PowerBuilder with a DataWindow. Of course, PB can provide functionality through Web Services (see my article "Prognos with DataWindow.NET 2.0 and PowerBuilder 11 Web Services" in PBDJ some time ago) but this has its limitations. In the article "PowerBuilder 11's .NET Interoperability" in PBDJ, John S... (more)