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)

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)

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)

Artikel "Using PowerBuilder Assemblies in .NET" in PBDJ publiziert

Das PowerBuilder Developers Journal (PBDJ) hat heute den Artikel von Arthur "Using PowerBuilder Assemblies in .NET" online geschaltet. Der Artikel zeigt an einem Beispiel wie einfach PowerBuilder Code in .NET verwendet werden kann.  Dies ist eine Technik, die wir in Projekten einsetzen um bestehende PowerBuilder Logik weiter zu verwenden bzw. in PowerBuilder und in .NET Projekten gleichzeitig zu verwenden. ... (more)

Online Abfrage Darlehen Kulturförderung Kt. Bern

Für die Kulturförderung des Kantons Bern habe wir eine Webanwendung zur Abfrage der gesprochen Darlehen realisiert, welche über http://www.erz.be.ch/kulturbeitraege direkt aufgerufen werden kann. Die Anwendung basiert auf ASP.NET und ist in das CMS des Kantons Bern integriert. Sie wird über einen WebService mit Daten aus der internen Anwendung versorgt, welche im Intranet der Erziehungsdirektion des Kantons Bern läuft. Diese Daten werden direkt auf einem SQL Server 2008 aufbereitet und an den Empfangs-WebService gesandt. Hier noch die offizielle Pressemitteilung der Erziehungsdirek... (more)