PowerBuilder Tips, Tricks, and Techniques

Berndt Hamboeck

Subscribe to Berndt Hamboeck: eMailAlertsEmail Alerts
Get Berndt Hamboeck: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Berndt Hamboeck

The DropDownDataWindow (DDDW) edit style is one of PowerBuilder's outstanding features. Yes, I know there are a lot of new and exciting capabilities in the upcoming release of PowerBuilder, but in this article I'll try to solve some of the current problems with the existing features that are popping up in nearly every project I've seen. Here I'll focus on DropDownDataWindows, including: How to get started with DDDWs Filtering DDDWs without losing the display value in other rows Catching the collapsing of a DDDW Trapping the cursor keys in a DDDW Autocomplete DDDW values Getting Started The basics are well covered in the PowerBuilder User's Manual, but if you still have problems defining them look at Figure 1. Click on the column you want and its edit style (yes, click on edit on the properties) as DDDW (choose DropDownDW as Style Type). Next, choose your DataWindow, ... (more)

SQL Anywhere 10 & DataWindow .NET 2.0 in an ASP Environment

Most of the applications we software developers build need to interact somehow with data from a database. The .NET Framework defined by Microsoft provides a rich set of objects to manage database interaction; these classes are collectively referred to as ADO.NET and the latest versions of DataWindow .NET (which is now version 2.01). SQL Anywhere (version 10) fits perfectly in this environment, making development a lot easier; in addition, your applications will look good without spending a lot of time painting the user interface. In this article we'll look closer at exactly this... (more)

The EAServer Repository

EAServer includes a powerful API called the Interface Repository. In this article I'll create a small service component to clean this repository of unwanted files that might be created when you deploy PowerBuilder components. I'll show how to get all the packages associated with your server and read your component's special properties. With the Interface Repository you can do all the EAServer administration and monitoring tasks, for example: Create and ping connection caches Query for installed packages and components Get information about the server (OS, version) Refresh/restar... (more)

LDAP with EAServer and PB 8.0

In Part 1 (PBDJ, Vol. 9, issue 6) I discussed directory services and how they provide authentication, access control, and finder services for our application. In Part 2, I explain how the JNDI API lets us easily use LDAP. JNDI Overview The Java Naming and Directory Interface (JNDI) is an application programming interface (API) that provides naming and directory functionality to Java applications. It's independent of any specific directory service implementation, thus a variety of directories - new, emerging, and already deployed - can be accessed the same way. JNDI Architecture T... (more)

AXIS Third-Generation Web Services Implementation

Web services is an emerging technology driven by the will to securely expose business logic beyond the firewall. Through Web services you can encapsulate existing business processes, publish them as services, search for and subscribe to other services, and exchange information throughout and beyond the enterprise. Web services will enable application-to-application interaction without the need to know anything about application implementations (languages, operating systems, tools) and without the need to write connectors to each new application. Gartner defines a Web service as ... (more)