Article View: borland.public.cppbuilder.nativeapi
Article #3865Re: Memory in TOpenDialog
From: Jos�
Date: Sun, 23 Apr 2006 10:22
Date: Sun, 23 Apr 2006 10:22
26 lines
1760 bytes
1760 bytes
On Sat, 22 Apr 2006 22:13:13 +0200, Jos� <jose@127.0.0.1> wrote in borland.public.cppbuilder.nativeapi: >My program stores no data, but when I do OpenDialog1->Execute() it >displays the directory I used in the previous execution of this >program. > >1. Where is this data stored? >2. How can I obtain this data without doing OpenDialog1->Execute() ? Currently I know only one way to do it, but it requires user intervention, and there must be at least one file in the folder. call OpenDialog1->Execute() instruct user to do the following: do not change to another folder select any file Click Open Read OpenDialog1->FileName and remove all text after the last backslash. Unfortunately there is nothing in OpenDialog1->FileName before the method is called. And I have no idea where OpenDialog obtains the folder name. -- Jos�
Technical Details
Message-ID:
<jvkm421n6slgsmbpdgc8ib3f3o4sc0k9c3@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!atl-c05.usenetserver.com!news.usenetserver.com!peer01.west.cox.net!cox.net!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<be3l42lps235eq260mon24b54pdujv70tm@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,874003eaa06d78a5 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: Jos� <jose@127.0.0.1> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Memory in TOpenDialog Date: Sun, 23 Apr 2006 12:22:45 +0200 Message-ID: <jvkm421n6slgsmbpdgc8ib3f3o4sc0k9c3@4ax.com> References: <be3l42lps235eq260mon24b54pdujv70tm@4ax.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 1145787795 82.75.14.62 (23 Apr 2006 03:23:15 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!atl-c05.usenetserver.com!news.usenetserver.com!peer01.west.cox.net!cox.net!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail