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

In the first article we presented a some theories about the ClassDefinition object and were able to show the libraries of a PB application in a treeview control. This month we'll read the objects from the libraries and inspect their content. When a user expands an entry in the treeview, we check to see if it was expanded once already. If it was, we don't take any action. We code this in the itemexpanding event of the treeview control, where we get the clicked treeviewitem by calling This.GetItem. If it wasn't expanded already, we check to see if the level of the treeviewitem is equal to two, which means we're expanding a library name. We could create an NVO to include all the logic for parsing, but for demonstration purposes, I want to keep things simple. We define all the functions we need on the window itself, but use arguments to refer to the controls. This wil... (more)

Using MS MapPoint in PowerBuilder

Why should you use GIS (Geographic Information System) data in PowerBuilder? You can plan a route for a service technician or a sales person. You can track the positions of the trucks delivering goods and it might allow you to direct a truck to an additional pick up close to its route. You can print driving directions when heading to an unknown place. The following article demonstrates how to use the Microsoft MapPoint control from within PowerBuilder to perform such operations. The MapPoint Control The MapPoint object model contains a lot of objects, but we'll use only a few. Fi... (more)

The ClassDefinition Object

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... (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)

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

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)