Home » Developer & Programmer » Forms » WIN_API_DIALOG plz urgent
WIN_API_DIALOG plz urgent [message #85329] Wed, 16 June 2004 03:42 Go to next message
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(*.*)&#124*.*|',
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 Go to previous messageGo to next message
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)&#124*.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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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(*.*)&#124*.*|',
true,
WIN_API.OFN_FLAG_DEFAULT,
false);
end;

plz let me know if any mistake is there....
Re: WIN_API_DIALOG plz urgent [message #85358 is a reply to message #85343] Fri, 18 June 2004 00:36 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
Reowrd your code as:
ret := Win_Api_Dialog.Open_File('open_file',
'$WINDIR$',
'All files(*.*)&#124*.*|',
true);

HTH
Regards
Himanshu
Re: WIN_API_DIALOG --again pblm plz urgent [message #85364 is a reply to message #85358] Fri, 18 June 2004 04:15 Go to previous messageGo to next message
pooja
Messages: 31
Registered: September 1999
Member
hai himanshu,
thanx for replying i recoded my code as u gave but again it is giving me same error re..
plz tell me y it is happening again???

pooja
Re: HIMANSHU ---WIN_API_DIALOG --again pblm plz urgent [message #85383 is a reply to message #85364] Mon, 21 June 2004 03:43 Go to previous messageGo to next message
pooja
Messages: 31
Registered: September 1999
Member
himanshu plz tell me what mistake i'm doing re....i'm anot at all able to fix it.and i struck there since from 3 days.plz tell me the answer
Re: HIMANSHU ---WIN_API_DIALOG --again pblm plz urgent [message #85400 is a reply to message #85383] Tue, 22 June 2004 22:14 Go to previous messageGo to next message
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
Re: HIMANSHU ---WIN_API_DIALOG --again pblm please urgent [message #316655 is a reply to message #85400] Sun, 27 April 2008 03:29 Go to previous message
20210005
Messages: 24
Registered: November 2007
Location: Dubai
Junior Member
Thanks alot my dear,

your solution is perfect
Previous Topic: Oracle form 6i to 10g migration
Next Topic: How to install Form builer 6i & report builder 6i
Goto Forum:
  


Current Time: Fri Dec 09 17:39:42 CST 2016

Total time taken to generate the page: 0.23824 seconds