Helping Developers Master PowerBuilder Classic and .NET

Yakov Werde

Subscribe to Yakov Werde: eMailAlertsEmail Alerts
Get Yakov Werde: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Yakov Werde

I was working on a POC app that integrates a .NET assembly with a PowerBuilder 12.1 WPF app when I ran across this issue. Most anyone doing any assembly integration will discover the same thing. In order to save you some time and bother I’m writing my findings and suggesting a couple of workarounds here. Background One on the key changes to the PowerScript class hierarchy was the insertion of System.Object as the ancestor of PowerObject. Object is now the grand ancestor of all PowerScript Classes. Figure 1 shows that PowerObject now has System.Object members. In object oriented terms this inheritance change means two things. (1) A PowerObject IS A System.Object, (2) A System.Object IS NOT a PowerObject This code is valid PowerObject Lpo System.Object Lso Lpo = CREATE PowerObject Lso = Lpo But this code is NOT valid PowerObject Lpo System.Object... (more)

PowerBuilder: Alive and Well in the Land of Milk and Honey

I just finished delivering two developer days in Tel Aviv Israel in cooperation with Ness Technologies, the local Sybase distributor.  Over 70 developers attended.  For over 5 hours I overviewed, described and demo'd lots of PB 12 .NET features.  For the last 1.5 hours of the day I led the groups through a series of hands on exercises to give them a real world flavor of new IDE and platform and their advanced capabilities. Attendee excitement was palpable as I led them through migrating and testing several Classic applications.  They were enthused as I led them through trying out... (more)

PowerBuilder .NET Migration eTutorial

Yours truly has been busy for the last few months learning the ins and outs of migrating Classic applications to .NET. Here are the links to the final versions on Sybase.com  The beta versions are no longer available. Part 01 Overview and Process:  http://video.sybase.com/products/powerbuilder/Part-1-Migrating-Classic-Applications-to-PowerBuilder-12-.NET/index.html Part 02 Issues and Solutions:  http://video.sybase.com/products/powerbuilder/Part-2-Migrating-Classic-Applications-to-PowerBuilder-12-.NET/index.html Part 03 Anchor Bay Nut Company - A Legacy Use Case Overview:  http:/... (more)

Migration Deja Vu

It started yesterday when I was researching and writing content for a PB .NET migration article while in the county courthouse jury room (yes there was wireless access) waiting to be called to serve the wonderful and free American judicial system.  No I wasn't drinking Kool-Aid or licking colored dots off paper.   Today it's looming larger. It started when a Google search on 'well partitioned client server code'  brought me to the SAM's book 'PowerBuilder 9 Internet and Distributed Application Development ' (click the link to see for yourself).   The book was authored by an all s... (more)

A Snap-In App Framework Using Dynamic PowerBuilder Assemblies (Part 2)

This two-part series examines and contrasts PowerBuilder .NET 12.5.1's new dynamic assembly feature with corresponding dynamic library functionality in PowerBuilder Classic. The discourse is presented in the context of a simplified yet practical use case. Part 1 presented the use case, reviewed pertinent PowerBuilder Classic dynamic APIs and presented a Classic PBD implementation. Part 2 introduces PowerBuilder .NET 12.5.1's Dynamic Assembly feature, reveals relevant PowerBuilder .NET generated assembly internals, and presents a PowerBuilder .NET use case implementation. Along th... (more)