Article View: borland.public.cppbuilder.nativeapi
Article #3798Re: A directory and TOpenDialog
From: Jos�
Date: Tue, 25 Apr 2006 07:23
Date: Tue, 25 Apr 2006 07:23
31 lines
1967 bytes
1967 bytes
On Mon, 24 Apr 2006 14:38:10 +0300, "Minas EnRethy" <(min_charATyahooPUTADOTgr)(HellenicFire)> wrote in borland.public.cppbuilder.nativeapi: >> Problem 2. >> When he starts TOpenDialog, I see that it has remembered the >> directory, although I wrote no code to remember it. > >2. You can use InitiaDir property of TOpenDialog or >set >ForceCurrentDirectory = true; >somewhere before call OpenDoalig->Execute() Unfortunately, the info is not in InitialDir. InitialDir is empty. >if ForceCurrentDirectory is true, the dialog opens with the current working >directory displayed. So that's not what I want. It is fine that the original directory is retained, but I want to know what it is before OpenDialog is executed. >> Where is this data stored? >> Can I access this data without having the user start TOpenDialog? > >In registry as Alan wrote A number of directories are mentioned there, but I do not know wich it is. The Registry seems to have no relation between program and directory, but merely between extension and directory. -- Jos�
Technical Details
Message-ID:
<qdjr42dp0ee6pcalu30f5pmeknitl9rjff@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<u53p425kmdqm4aa0h21pl45m559jhlma9k@4ax.com> <444cb8a7@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,26b22a9f81e2e376 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: Jos� <jose@127.0.0.1> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: A directory and TOpenDialog Date: Tue, 25 Apr 2006 09:23:13 +0200 Message-ID: <qdjr42dp0ee6pcalu30f5pmeknitl9rjff@4ax.com> References: <u53p425kmdqm4aa0h21pl45m559jhlma9k@4ax.com> <444cb8a7@newsgroups.borland.com> X-Newsreader: Forte Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 82.75.14.62 X-Trace: newsgroups.borland.com 1145949824 82.75.14.62 (25 Apr 2006 00:23:44 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail