Home

Topwiz Software

Anything is possible given enough time, money and Mountain Dew!

 
 
line decor
   
line decor
   
 

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 executables. If you will be running on PowerServer, use the PB10.5 version because PowerServer does not support the Longptr datatype.

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.

If you find one or more of the free code examples useful, you can pay what you want to help maintain them. Click here to make a payment.

Product Spotlight
Adapter

Winsock

This example uses Winsock to send and receive data from one computer to another using TCP or UDP protocols. It could be client to server or client to client communication. It could even be used with a peripheral device. IPv4 and IPv6 are supported.

Win API Functions used:

accept
bind
closesocket
connect
DeregisterEventSource
FormatMessage
freeaddrinfo
getaddrinfo
gethostname
getpeername
getsockname
getsockopt
htons
inet_ntoa
ioctlsocket
listen
ntohs
OutputDebugString
recv
recvfrom
RegisterEventSource
ReportEvent
RtlMoveMemory
send
sendto
setsockopt
shutdown
socket
WNetGetUser
WSAAddressToString
WSAAsyncSelect
WSACleanup
WSAGetLastError
WSASetLastError
WSAStartup

Click here to download the PowerBuilder sample : WINSOCK.ZIP

——— Last updated 02/14/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
PBEditor
Ping
PrinterInstall
ResizeResponse
RunAndWait
Send SMS
SizeOf
Splitbars
Statbar
String Class
USPS Barcode
WebBrowser
WinHTTP
Winsock
XmlHttp
Zlibwapi

PBSearch
The ultimate PowerBuilder search utility. Faster, more accurate and more capable than the built-in search tool.

PBNIServ
Do what was once impossible! Create a Windows Service program entirely in PowerBuilder without any API function calls.

WizSource
WizSource is an advanced Source Control system that is designed to be the easiest and fastest provider for PowerBuilder.