Border

Freeware and Code Snippets

Here you find various applications and code snippets you can use in your own applications. We try to give some support.
CATsoftPDF Plug-in for Enable Rex Sources for a runtime and IDE plug-in for Enable Rex
EML Parser EML Parser splits an EML message file like it's used by Outlook Express and many other Mail clients in it's parts. The body is saved as HTML and the attachments as what they really are. EML Parser is a free DLL and comes with source code. It's based on SimpleCheck, the work of Max Kotchouro.
Drag & Drop in PB Drag & Drop in PowerBuilder for Files (Thanks to Novista) and Emails from Outlook and Outlook Express. Source is in PB 11 and can be used together with the DLL in your own projects.
AdressCAT Simple Address DB with one Window that can be used without installation. It's possible to create mail merge documents with Word and export the data into Excel. The application has a modernen look and makes usage of the windows styles. It's free.
Printer Orientation PB Source to switch printer orientation during a print job. This allows you to print datawindows in Landscape and Portrait in the same print job. Source is in PB 10. Works with PB 9, 10, 10.5 and 11.
PB Object Browser ClassDefinition Object based object browser for PB. This is the source to the article in PBDJ.
PB Enumerator This sample shows the conversion of a PB Enumerated value to a number. With this sample it's possible to check the keycodes with numbers instead of writing huge CASE statements. The sample is a PBNI application written for PB10 and can be used freely.
Cryptography This archive contains the CATCryptLT DLL with some public domain algorithms used for cryptography and compression (currently: SHA-1, AES128, Base64 and LZO). It also contains PowerBuilder 9 and 10 (unicode) samples to access this DLL and samples for the use of the Microsoft Cryptography API.
Bitmap Client Enhance your application with Bitmap Client! Bitmap Client draws a Bitmap onto the Client area of any MDI application and supports Hotspots and Tooltips.
The latest version is unicode and supports reading bitmaps from Applications written in PowerBuilder 10.5 and later.
RAS Dialer This sample is a fully working RAS dialer, that allows you to connect from a PC running Windows via Modem to a NT-Server. The sample contains NVOs for 16 and 32 Bit applications.
EXE2PIC This archive contains Document in Winword 6.0 Format that describes how PB stores its Bitmaps in the Executable. A PB UserObject is also included. It returns you the Bitmap with the given name. For access from Applications other then PB a C++ DLL with source is also included.
Please Wait This PBL contains some Popup Windows that display a message and prevents the user from accessing the application. PowerBuilder handles the mouse pointer itself (e.g. turns back to Arrow if you leave a script or turns to an HourGlass if you update a datawindow). For the user it’s hardly impossible to find out if he can carry on working or if the application is still busy. I start with an ordinary Popup Window, go through invisible Windows and end with a running watch on an invisible Popup Window.
Browser Ticker This Script displays a ticker in the Statusbar of the Internet Browser
Taskbar Icon Place your application icon in the taskbar like e.g. the volume control
PBROAD Source Code of my demo at the Build the future POWERBUILDER 7.0 Seminar. Business Logic in Distributed PB and EA-Server

PowerBuilder Developers Journal Articles

PBDJ LogoHere you find links to the articles we published in PowerBuilder Developers Journal.
Using PowerBuilder Assemblies in .NET
PBDJ Cover This article shows how you can reuse PowerBuilder code in .NET projects. This is a technique we often use in our projects.
The new Generation of Decompilers
PBDJ Cover The latest development technologies rely on intermediate languages and can be decompiled. PowerBuilder is no exception. In this article, we will address the risks posed by decompilers. We will also discuss what can be done to protect against the possible negative results of decompilation - whether you create in-house applications, commercial applications, or are using these applications for your business.
PowerBuilder .NET Web Services with Various Front Ends
PBDJ Cover Prognos is used for the online calculation of possible scholarships. We developed it together with Zoom Informatik GmbH. It's used in various cantons in Switzerland. This article shows the usage with different Front Ends like Silverlight, OpenLaszlo, Curl, etc.
Prognos
PBDJ Cover Prognos is used for the online calculation of possible scholarships. We developed it together with Zoom Informatik GmbH. It's used in various cantons in Switzerland.
The ClassDefinition Object
PBDJ Cover The ClassDefinition object was introduced in PowerBuilder 6.0 a long time ago. It allows you to retrieve information for an object at runtime.
The frist part of the article is some theory, the 2nd part about building an Object Browser. 2nd part of the article. Download the source from Freeware and Code Snippets further down the page.
The ClassDefinition Object
PBDJ Cover The ClassDefinition object was introduced in PowerBuilder 6.0 a long time ago. It allows you to retrieve information for an object at runtime.
The frist part of the article is some theory, the 2nd part about building an Object Browser.
PBDOM in PowerBuilder
PBDJ Cover So you think, "Why bother using PBDOM?" Well, you can use PDOM to manipulate elements in an XML document. That means you can move elements in a document or from one document to another. You can add elements to a document or delete them from a document. And, with a little coding, you can import nested XML data into a DataWindow. With the XML capabilities in the DataWindow introduced with Sybase's PowerBuilder 9, it's possible to import and export data very fast and easily. You might have glanced at the PBDOM definition in the PowerBuilder help and figured it looked hard to handle but, fear not, I'll introduce you to PBDOM and give you some code samples.
Encryption in PowerBuilder
PBDJ Cover Keeping information away from curious eyes is a challenging task. For example, you might need to encrypt data before sending it over the Internet. Or you might be storing some information in a database that not even an administrator is allowed to see. This article provides a brief overview of encryption techniques and shows how to do encryption in PowerBuilder.
MapPoint in PowerBuilder
PBDJ Cover Why should you use GIS (Geographic Information System) data in PowerBuilder? You can plan a route for a service technician or a sales person. You can track the positions of the trucks delivering goods and it might allow you to direct a truck to an additional pick up close to its route. You can print driving directions when heading to an unknown place.

PowerTimes Articles

PowerTimes LogoThe last issue of PowerTimes was published 2003. You can read the articles directly in the PowerTimes Archive.