Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #9180

Re: OpenDialog error message

From Franz Rachbauer <office@rachbauer.org>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: OpenDialog error message
Date 2016-03-22 09:36 +0100
Organization Aioe.org NNTP Server
Message-ID <ncr07g$ptp$1@gioia.aioe.org> (permalink)
References <f16bb9c5-b4e2-4480-9a49-5386ea0e3778@googlegroups.com>

Show all headers | View raw


Hi Jürgen,
maybe oDlg:SetStyle(OFN_SHAREAWARE) helps.
Regards, Franz

Am 22.03.2016 um 09:16 schrieb Jürgen Knauf:
> Hi,
>
> i use an OpenDialog and want to select another database name and get this error:
   "This file is opened by an other app".
> I only want to select the name with OpenDialog. I don't want to open it:
>
> oDlg := OpenDialog{oWin,cPfad+"\*.ADT"}
> oDlg:Caption := "Textbausteindatei öffnen"
> oDlg:Show(SHOWCENTERED)
> cDatei := oDlg:FileName
>
> The file, which name I want to select, is shared opened in a database editor like
   "Advantage Data Architect" in the remote mode.
>
> I thought that "OpenDialog" gives me only a dialog box to select a file and then return
   the file name. Obviously it checks additionally the file for locking 
by another app.
>
> Can I stop this checking mechanism in OpenDialog?
>
> Regards
> Jürgen
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OpenDialog error message Jürgen Knauf <trotterklaus@googlemail.com> - 2016-03-22 01:16 -0700
  Re: OpenDialog error message Franz Rachbauer <office@rachbauer.org> - 2016-03-22 09:33 +0100
  Re: OpenDialog error message Franz Rachbauer <office@rachbauer.org> - 2016-03-22 09:36 +0100
    Re: OpenDialog error message Jürgen Knauf <trotterklaus@googlemail.com> - 2016-03-22 04:49 -0700

csiph-web