Re: question: d2kwutil.pll (WIN_API_DIALOG.SAVE_FILE)
Date: Mon, 7 Feb 2000 07:47:43 -0600
Message-ID: <s9tjaskrhse38_at_corp.supernews.com>
Valeri,
[Quoted] Thanks. I tried but that didnt' help. Is there anything other than d2kwutil.dll or d2kwutil.pll that I need to make this work? Also, I am not having any trouble with OPEN_FILE, just this one.
how does lv_filename need to be declared. I've got VARCHAR2(255).
Maybe this is a bug of some sort :-)
C-ya,
Ken.
Valeri Sorokine <vsorokin_at_dd.ru> wrote in message
news:389E8799.8D45A121_at_dd.ru...
> Hello Ken,
>
> Try to use this call:
>
> lv_filename := WIN_API_DIALOG.SAVE_FILE(
> NULL,
> NULL,
> 'C:\',
> 'All Files(*.*)|*.*|',
> TRUE);
>
> And remember (if you want to use 'AdvancedFlags'):
>
> "...To Set the Advanced_Flags varaible, just add the
> required flags together. The default is:
> WIN_API.OFN_PATHMUSTEXIST + WIN_API.OFN_FILEMUSTEXIST +
> WIN_API.OFN_HIDEREADONLY + WIN_API.OFN_NOCHANGEDIR
> ..."
>
> 'RaiseExceptions' = FALSE by default.
>
> Hope that helps.
>
> Ken Halsted wrote:
> >
> > I have this behind a when-button-pressed trigger:
> >
> > DECLARE
> > lv_filename VARCHAR2(255);
> > BEGIN
> > lv_filename := WIN_API_DIALOG.SAVE_FILE(
> > NULL,
> > NULL,
> > 'C:\',
> > 'All Files(*.*)|*.*|',
> > TRUE, -- modal, TRUE or FALSE
> > WIN_API.OFN_HIDEREADONLY,
> > FALSE );
> >
> > MESSAGE('Filename = '||lv_filename);
> > MESSAGE('Filename = '||lv_filename);
> >
> > :DUAL.TXT_OUTPUT_FILE := lv_filename;
> > synchronize;
> > END;
> >
> > Why is lv_filename null when I select a file to overwrite on my C drive?
> >
> > Any help at all would be much appreciated. :-)
> >
> > Ken.
Received on Mon Feb 07 2000 - 14:47:43 CET