Welcome!

PowerBuilder Authors: Dan Joe Barry, Carmen Gonzalez, Ian Thain, Yakov Werde, Paul Slater

Related Topics: PowerBuilder

PowerBuilder: Article

Smart Client Deployment in PowerBuilder 11

How the Intelligent Updater feature fits into PowerBuilder 11's .NET Smart Client support initiative

Click on the "Publish Project" toolbar button and if you keep your eye on the output frame you'll notice the automatically incremented publish version value.

Changing your perspective back to that of the user, use the Windows Start menu to run the example application again. Your application has transparently downloaded the application's manifest and detected that there is a new version available. You, the user, see a notification window displaying that a new version of the application is available. Click OK to download and install the update.

Open the "About" window and there you are. You'll see that the static text control's background color is now green, the "G" or second in our RGB sequence. You'll also note that the application's Start menu shortcut's values have changed if you've taken advantage of that option. For the sake of the next section of this article, leave the application running and return to the PowerBuilder IDE.

The Update Notifier Feature
How this feature manifests itself to the user is two fold. At runtime it consists of a pop-up window originating from the system tray that notifies the user of various application update status conditions, as well as a pop-up menu that enables the user to take certain actions and modify certain options that concern updates to their application.

In the PowerBuilder 11 IDE, change the background color of the static text control on w_mss_about to the blue in our RGB sequence. Save and close w_mss_about. I'll also navigate to the Notify tabpage of my WinForm project and choose to use a non-default background image for my Notifier window. When you choose to use non-default values, the display size of Notifier's icon is 16x16 and the display size of background image I've used is 148x120. I'll also change the Notifier window's title value to "MSS." Publish your application once more, and then activate the running instance of it once the Publish is complete.


More Stories By John Strano

John Strano is a Sybase Technology Evangelist and is a charter member of TeamSybase. He has been using PowerBuilder since 1991 and has authored articles for multiple industry periodicals. John has been a Sybase Certified Instructor and has presented Sybase tools on an international basis since 1997. Over the last 17 years John has developed a variety of PowerBuilder applications from single-user scaling up to enterprise-class, web-based projects.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.