파워빌더 RUN 명령어 대체하기
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))
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))