Article View: borland.public.cppbuilder.nativeapi
Article #2018Re: Filename problem
From: Pat
Date: Thu, 10 May 2007 17:13
Date: Thu, 10 May 2007 17:13
36 lines
1881 bytes
1881 bytes
Thanks Rob, That is exactly what I was looking for! Just as a side note I looked high and low for this answer, all of my reference books and on line help and so on. 10 seconds with someone who know something...... Thank you ever so much Pat Robert G. Hoover wrote: > Is this what you're asking for or did I misunderstand your question...? > > Edit1->Text = ExtractFileName(OpenDialog->FileName); > > > Rob > > > > Pat wrote: >> Hi, >> >> Is there any way to extract the filename from an OpenDialog? I would like >> to be able to put only the filename and extension into an Edit box. When I >> try to use: >> >> Edit1->Text = OpenDialog->FileName; >> >> I get the pathh and all listed in the Edit box. I know that this should be >> easily done it's just that I can't ssem to find an answer to my searches. >> >> Thank you for your kind help. >> >> Pat >> >>
Technical Details
Message-ID:
<46435299$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46434861@newsgroups.borland.com> <46434c02$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,57cef0fbcdf7b110 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 10 May 2007 11:13:00 -0600 From: Pat <pclancy@sasktel.net> User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Filename problem References: <46434861@newsgroups.borland.com> <46434c02$1@newsgroups.borland.com> In-Reply-To: <46434c02$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 64.201.197.13 Message-ID: <46435299$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1178817177 64.201.197.13 (10 May 2007 10:12:57 -0700) Lines: 36 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail