홈 · 개발 참고자료

개발 참고자료

[파워빌더] Detect if a network is present (네트워크가 존재 하는지를 검색)

작성자
관리자
작성일
2016-10-16
조회
12598
분류
파워빌더
[external function declaration]
FUNCTION Integer GetSystemMetrics (Integer nIndex) LIBRARY "user32.dll"

[powerscript]
integer SM_NETWORK = 63

IF GetSystemMetrics(SM_NETWORK) > 0 THEN
MessageBox("", "Network is up")
END IF

See this related HowTo