Check Network Present In PowerBuilder
External Function Declaration
1 2 |
//[External Function Declaration] Function Integer GetSystemMetrics (Integer nIndex) Library "user32.dll" |
PowerScript
1 2 3 4 5 6 |
//[powerscript] Integer SM_NETWORK = 63 If GetSystemMetrics(SM_NETWORK) > 0 Then MessageBox("Warning", "Network is up") End If |
Good Luck!
Subscribe
Login
0 Comments
Oldest