홈 · 개발 참고자료

개발 참고자료

파워빌더 RUN 명령어 대체하기

작성자
웨이브
작성일
2015-06-26
조회
10846
분류
파워빌더
1. 선언


FUNCTION uint WinExec(ref string filename, uint wStyle) LIBRARY "kernel32.dll" alias for "WinExec;Ansi"




2. 해당 이벤트에서 호출


string ls_filename


uint lu_Rtn, lu_wStyle
ls_filename = "c:\windows\notepad.exe"


lu_wStyle = 1


lu_Rtn = WinExec(ls_filename, lu_wStyle)


Messagebox("확인", string(lu_Rtn))