win_api_dialog [message #81330] |
Tue, 04 February 2003 20:48 |
laxmikant sharma
Messages: 1 Registered: February 2003
|
Junior Member |
|
|
i want to open file dialog box at runtime in d2k forms. i attached a library
d2kwutil.pll and then write these code to button.
DECLARE
Title Varchar2(20) := 'Open File';
StartDirectory Varchar2(100) := 'C:'; --$WINDIR$';
FileFilter Varchar2(20) := 'All files(*.*)|*.*|' ;
Modal BOOLEAN DEFAULT TRUE;
AdvancedFlags PLS_INTEGER DEFAULT WIN_API.OFN_FLAG_DEFAULT;
RaiseExceptions BOOLEAN DEFAULT FALSE;
RtnParam Varchar2(20);
BEGIN
RtnParam :=
Win_Api_Dialog.Open_File(Title,StartDirectory,FileFilter,Modal,AdvancedFlags
,RaiseExceptions);
message(rtnparam);
message(rtnparam);
END;
i got a message when i press a button.
frm-40734 internal error pl/sql error occured.
please send the answer for that.
thanks
|
|
|
|