WIN_API_DIALOG plz urgent [message #85329] |
Wed, 16 June 2004 03:42  |
pooja
Messages: 31 Registered: September 1999
|
Member |
|
|
hai all,
i have a form, in which there is a button called browse,while clicking this button, i have to get the same open dialog box.to accomplish this task, i used the win_api_dialog.open_FILE('OPENFILE','$WINDIR$',
'All files(*.*)|*.*|',
TRUE,
WIN_API.OFN_FLAG_DEFAULT,
FALSE);
BUT IT IS GIVING ERROR LIKE DECLARE WIN_API_DAILOG.
I'M USING FORMS6I.
PLZ ITS VERY URGENT.PLZ PLZ HELP ME ANYONE
|
|
|
Re: WIN_API_DIALOG plz urgent [message #85330 is a reply to message #85329] |
Wed, 16 June 2004 03:56   |
A Ikramur Rahman
Messages: 81 Registered: May 2004
|
Member |
|
|
Hi Pooja
You can use WEBUTIL tool for dailog box.
One such example is given below. This will display all CSV files.
WEBUTIL_FILE.FILE_OPEN_DIALOG(
directory_name =>'C:',
file_filter => 'MS Excel (*.csv)|*.csv',
title => 'Open');
Regards
A Ikramur Rahman
|
|
|
Re: WIN_API_DIALOG plz urgent [message #85333 is a reply to message #85330] |
Wed, 16 June 2004 06:58   |
Himanshu
Messages: 457 Registered: December 2001
|
Senior Member |
|
|
Hi,
Correction, WEBUTIL is not a tool, its a PLL.
So, if you are running your form on the web then attached WEBUTIL.PLL to the form else attach D2KWUTIL.pll.
WIN_API_DIALOG is a package inside D2KWUTIL/WEBUTIL pll's.
HTH
Regards
Himanshu
|
|
|
Re: WIN_API_DIALOG plz urgent [message #85343 is a reply to message #85333] |
Thu, 17 June 2004 04:09   |
pooja
Messages: 31 Registered: September 1999
|
Member |
|
|
hai thanx for ur reply and i attached that library to my form.it is executed properly.but when i'm click that button, then it is giving the error as:
FRM-40734:internal error:pl/sql error occured
i wrote the code in my button as follows:
declare
ret varchar2(10);
begin
ret := Win_Api_Dialog.Open_File('open_file',
'$WINDIR$',
'All files(*.*)|*.*|',
true,
WIN_API.OFN_FLAG_DEFAULT,
false);
end;
plz let me know if any mistake is there....
|
|
|
|
|
|
Re: HIMANSHU ---WIN_API_DIALOG --again pblm plz urgent [message #85400 is a reply to message #85383] |
Tue, 22 June 2004 22:14   |
Himanshu
Messages: 457 Registered: December 2001
|
Senior Member |
|
|
Pooja,
1. Copy the latest d2kwutil from the following location:
ftp://oracle-ftp.oracle.
com/dev_tools/patchsets/dev2k/Win95NT/d2kwutil/
2. Extract over the existing files (all files in the self extract archive)
3. Copy the d2kwut60.dll in ORACLE_HOMEBIN directory.
4. Use the new d2kwutil.pll also
Also there is a d2kwut60.dll in the d2kwutil home. You need to copy this and put this in the ORACLE_HOME/BIN.
Regards
Himanshu
|
|
|
|