Article View: borland.public.cppbuilder.database.multi-tier
Article #930Re: Printing file date
From: Satya Kolachina
Date: Mon, 28 Aug 2000 00:00
Date: Mon, 28 Aug 2000 00:00
42 lines
2612 bytes
2612 bytes
I did not understand the first question; where do you want to print ? is it in a report printed to printer ? if you can explain more on your question, I may be of help to you. To use the DriveComboBox, DirectoryListBox, etc. do the following: Drop the three components Drive ComboBox, DirectoryListBox and FileListBox. The DirectoryListBox component must be assigned as DirList property for Drive ComboBox; the FileListBox component must be assigned as FileList property for the DirectoryListBox component. However, this arrangement does not display the complete file details like size, dates attributes as you wanted. To achive that, you should be able to use WIndows shell features and build your own components; atleast the FileList component must be custom built by adding ViewStyle property with whatever details you want to display on the screen. Third partycomponent builder TurboPower software company has made a set of three similar components, which if you use, you can build your own version of windows explorer in your application. This will eliminate the need to build your own components. These components are part of a product called SysTools (current version 3) from TurboPower software company. If you want to contact them you may contact them at www.turbopower.com. Their components are native VCL components and can be used in both Deliphi and C++ Builder. I hope I answered your question. Satya Kolachina "Randy Jordan" <randy.jordan@msfc.nasa.gov> wrote in message news:39A3CB5A.5ED4364F@msfc.nasa.gov... > I would like to know if anyone could tell me how to print the date and > time stamp of a file in a C++ Builder windows application. (Example: > 08/22/00 2:20 PM). > > I would also like to know how to list files, size, dates, etc., as in > Windows file manager using a DriveComboBox, DirectoryListBox, and > ListView component in a C++ Builder application. > > Thanks, > > Randy Jordan > >
Technical Details
Message-ID:
<39aaadc9$1_1@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39A3CB5A.5ED4364F@msfc.nasa.gov>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,ad46f894d1df9cba X-Google-Attributes: gidfcd2b,public From: "Satya Kolachina" <skolachi@etsolutionsinc.com> Subject: Re: Printing file date Date: 2000/08/28 Message-ID: <39aaadc9$1_1@dnews> X-Deja-AN: 663574589 References: <39A3CB5A.5ED4364F@msfc.nasa.gov> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Trace: 28 Aug 2000 11:22:01 -0800, 12.37.20.173 Organization: Emerging Technology Solutions, Inc X-MSMail-Priority: Normal Reply-To: "Satya Kolachina" <skolachi@etsolutionsinc.com> Newsgroups: borland.public.cppbuilder.database.multi-tier