Free Code


All examples include a PB10.5 version and most have a PB12.6 version. The PB12.6 versions are verified to work in 64bit. PowerServer doesn't support the longptr type so you must use the PB10.5 version in that environment. If one of the examples doesn't work correctly, please contact me first before posting to the Appeon user forum or bug tracking system.

Before downloading one of the free code examples, please review the license terms here. If you find this code really useful and would like to donate, click the PayPal button in the upper right corner.

Click here to download an installer for all the free code samples: WebExamples


Adapter  

PBEditor

This program is a text editor program that uses the open-source Scintilla editor control.

Includes version 5.4.0 (November 18, 2023) of the Scintilla control used by Notepad++. The 64bit version is included in the 64bit sub-folder.

Click here to download the PowerBuilder sample: PBEDITOR.ZIP

Win API Functions used:

ChooseFont
CloseClipboard
EmptyClipboard
FindClose
FindFirstFile
GetClassName
GetSysColor
GetSystemMetrics
GetTempPath
GetWindow
GetWindowLong
GlobalAlloc
GlobalFree
GlobalLock
GlobalUnlock
MonitorFromWindow
OpenClipboard
OutputDebugString
PathIsURL
RtlMoveMemory
SetParent
SetWindowLong
SHGetFolderPath
ShowWindow

——— Last updated 12/04/2023 ———

Amyuni  
BCrypt  
Bitmap  
Canvas  
ChooseFont  
Colors  
ControlPanel  
Cryptoapi  
DisplayIcon  
DragFiles  
DWGridXP  
DynamicMenus  
Filesys  
FTPClient  
GetFileName  
GetFolder  
GetURL  
Ghostscript  
Icontray  
ImageList  
Indirect  
LDAPQuery  
LineCount  
MessageBox  
Mutex  
ODBC API  
OSVersion  
Outlook  
ParentWindow  
PBDebug  
PBEditor  
Ping  
PrinterInstall  
PSRViewer  
ResizeResponse  
RunAndWait  
Send SMS  
SizeOf  
Splitbars  
Statbar  
String Class  
USPS Barcode  
WebBrowser  
WinHTTP  
Winsock  
XmlHttp  
ZLibwapi