Home » Developer & Programmer » Forms » win_api_dialog
win_api_dialog [message #81330] Tue, 04 February 2003 20:48 Go to next message
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(*.*)&#124*.*|' ;
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
Re: win_api_dialog [message #81333 is a reply to message #81330] Wed, 05 February 2003 03:56 Go to previous message
magnetic
Messages: 324
Registered: January 2003
Senior Member
example:
SelectedFile := win_api_dialog.Open_file('Open','C:','X files(*.doc)&#124*.doc|');
Previous Topic: Developer 2K prints two pages instead of one !
Next Topic: D2K connectivity problem with oracle 8i
Goto Forum:
  


Current Time: Wed Apr 24 20:01:10 CDT 2024