Free Code


All examples include a PB10.5 version and a PB12.6 version if there are Windows API functions. The PB12.6 versions are verified to work in 64bit. 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
Click here to download an installer for the old PB8 & PB10 samples: WebExamplesOld


Adapter  

OSVersion

This program returns information about the version of the operating system. It returns the operating system name, edition and service pack. It also has a function to return version strings from .dll and .exe files.

Click here to download the PowerBuilder sample: OSVERSION.ZIP

Win API Functions used:

GetFileVersionInfo
GetFileVersionInfoSize
GetProductInfo
GetSystemMetrics
GetVersionEx
RtlMoveMemory
VerQueryValue

——— Last updated 11/24/2019 ———

Amyuni  
BCrypt  
Bitmap  
Canvas  
ChooseFont  
Colors  
ControlPanel  
Cryptoapi  
DisplayIcon  
DWGridXP  
DynamicMenus  
EmailPOP3  
EmailSMTP  
Filesys  
FTPClient  
GetFileName  
GetFolder  
GetURL  
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