Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages
Started by Randy Jordan
Wed, 23 Aug 2000 00:00
Printing file date
Author: Randy Jordan
Date: Wed, 23 Aug 2000 00:00
Date: Wed, 23 Aug 2000 00:00
11 lines
902 bytes
902 bytes
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
Re: Printing file date
Author: 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 > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads