|
YOUR FEEDBACK
|
TOP MICROSOFT .NET LINKS Feature PowerBuilder Takes You To .NET
Preparing PowerBuilder applications for .NET Windows Forms deployment
By: John Strano
Apr. 16, 2008 04:15 PM
PowerBuilder 11 Installation The .NET Framework and its SDK act as a foundation for PowerBuilder's .NET capabilities. You'll want to review the PowerBuilder installation guide, especially Table 1-3 for a concise yet comprehensive list of these prerequisite packages and tasks. http://infocenter.sybase.com/help/topic/com.sybase.dc37771_1100/pdf/pbeinst.pdf
Let's Get to Work: Migration http://infocenter.sybase.com/help/topic/com.sybase.dc37773_1100/html/pbug/BGBJHCBC.htm Invaluable anecdotal information and recommendations can also be found in Terry Voth's (TeamSybase - www.TeamSybase.com) Migration Guide...especially for "grooming" PBLs before migration by optimizing them. www.techno-kitten.com/PowerBuilder_Help/PowerBuilder_Migration/powerbuilder_migration.html Of course, if you're migrating from PowerBuilder 6.5 or earlier, you'll be working more issues than an application that's on version 10.5. As of PowerBuilder 10, unicode rather than ANSI is the default for the character encoding format and will impact strings in external function calls, string length calculations, etc. The compiler in PowerBuilder 11 is more stringent about certain coding practices like casting. Distributed PowerBuilder (DPB) has been removed. Graphics capabilities that were added in 10.5 may cause visual changes in your layouts and fonts that you may want to adjust. I highly recommend creating a formalized Migration Plan. Not only will this plan let you identify refactoring tasks that need to be done, it will also let you quantify the number of those tasks and estimate the time and effort they'll require. Migrating your application forward should be relatively painless if it's managed as the bona fide project it is. Let's presuppose your application is on a version of PowerBuilder no earlier than 7.x. Below, we'll cite possible migration tasks related to each subsequent version leading up to PowerBuilder 11. Then we'll examine the Migration Assistant tool and how it can help you to identify which of these migration issues affect your application. Migration Issues Version by Version
The Migration Assistant tool exists to help you discover migration issues in your PBLs before you make your first attempt to migrate your applications and targets. (Figure 1) Note: You'll want to use the Migration Assistant to analyze your PBLs using PowerBuilder 11 before you open your application in the IDE to migrate it. It can be accessed from PowerBuilder's menu by clicking on File>New and then choosing the Tool tabpage in that response window. The tool will search for obsolete syntax as well as for other migration issues in the PowerBuilder versions between 6 and 11 that you specify. If you're migrating from PowerBuilder 5 or earlier, you'll want to check all the versions available up to and including 11. (Figure 2) MICROSOFT .NET LATEST STORIES
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING NEWS FROM THE WIRES
|
|||||||||||||||||||||||||||||||||||