Re: Open a file in Forms 4.5
Date: Wed, 14 Apr 1999 18:24:01 +0400
Message-ID: <3714A501.3B60D854_at_dd.ru>
Try to find D2KWUTIL.PLL on your HDD. It exists for Forms 5 and may be it exists for Forms 4.5 also. I don't remember exactly.
Look at:
"...
PACKAGE WIN_API_DIALOG IS
/*-------------------------------------------------------------------------*\ * WIN_API_DIALOG -> This package is concerned with Displaying Common * dialogs * Contents: * Open_File -> Open File Dialog * Save_File -> Save File Dialog * Select_Printer -> Printer Selection Dialog..."
Also in Forms 5 there is a Get_File_Name built-in which "Displays the standard open file dialog box where the user can select an existing file or specify a new file".
Hope this helps.
Henk Hultink wrote:
>
> Hello,
>
> we are looking for a way to use the standard MS File Open-Window in a
> Forms 4.5 application.
> The aim is that users can browse disks to specify a file that should be
> loaded with SQL*Loader. At this moment they need to specify the filename
> and -location, and any typing error results in an error-message, because
> the specified file was not found.
> Of course the File Open-Window should return the name of the file that
> was opened by the user to Forms for further processing. Any suggestions?
-- Valeri Sorokine ProSoft, Russia, Moscow, Information Systems Division Phone: +7 (095) 234 0636 (6 lines) FAX: +7 (095) 234 0640 E-mail: vsorokin_at_dd.ru OR vsorokin_at_prosoft.ru http://www.dd.ruReceived on Wed Apr 14 1999 - 16:24:01 CEST