PowerBuilder Tips & Tricks

PowerBuilder Tips & Tricks

FTP/SFTP Using WinSCP In PowerBuilder

FTP/SFTP Using WinSCP In PowerBuilder Previous versions of Powerbuilder do not support using SFTP. I have found WinSCP support quite well, but if you use OLEObject you have to install WinSCP for the client, which is inconvenient and not feasible for my company because there are too many clients. so I wrote it with Csharp…

Drag Control In PowerBuilder

Drag Control In PowerBuilder Using Event Mousedown of control Find Projects On Github click here Good Luck!

Datawindow Change Color Modified

Datawindow Change Color Modified In the Color property of a column, enter the expression IF (column_name <>column_name.Original, 14745599, 67108864). This will change the color of the column to, in this case, Light Yellow if the user changes the value and Button Face if the column has not been modified. The trick here is that column_name…

PowerBuilder Dynamic Datawindow With Arguments

PowerBuilder Dynamic Datawindow With Arguments Source Code nvo_dwgenerator from nonvisualobject w_main from window Find Projects On Github click here Good Luck!

PowerBuilder Utility

PBUtility is a free PowerBuilder Application that provides some useful utility tools  for PowerBuilder from version 6 to 2021. I will try to update the latest version. Installation Run putility.exe you will see it appear system tray icon. select sytem -> intergate. you will restart PB, you will see a new toolbar in PowerBuilder. Features:…

PowerBuilder Get Windows Operating System Version

PowerBuilder Get Windows Operating System Version Source Code Declare External Functions Using Example w_main from window Find Projects On Github click here Good Luck!

Handle Privileges In PowerBuilder

Handle Privileges In PowerBuilder Example code script n_cst_platform_privileges from nonvisualobject w_main from window Find Projects On Github click here Good Luck!

Converting Encoding UTF-8 to ANSI In PowerBuilder

Converting Encoding UTF-8 to ANSI In PowerBuilder Add PowerScript Create Global Function utf8_to_ansi Read data from file and encoding utf8 to ansi then import to dw_tab datawindow. (Import data to DataWindow/Datastore) Good Luck!