473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

size & time modification from files..?? (Builder)

My question
How can I do something like this... in Builder:
In ListBox I've got a list of the files (load by the FindDir) and what
should I do to pull out from these files the size and the time of the last
modification.. ?? (for example to StringGrid or ListBox)
(This operation I will be do twice.. before and after the modification of
the files.. and after than I want to compare this information!)

Thanks a lot for any suggestion..
johnnyb

Jul 19 '05 #1
2 2278
janek <si****@poczta.gazeta.pl> spoke thus:
In ListBox I've got a list of the files (load by the FindDir) and what Thanks a lot for any suggestion..


Try a different newsgroup? Only standard C++ is discussed here.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Jul 19 '05 #2
Hi,

You could do a stat() on the path/filename. It will return a buffer with
information about the file.

Regards, Ron AF Greve.

"janek" <si****@poczta.gazeta.pl> wrote in message
news:bm**********@inews.gazeta.pl...
My question
How can I do something like this... in Builder:
In ListBox I've got a list of the files (load by the FindDir) and what
should I do to pull out from these files the size and the time of the last modification.. ?? (for example to StringGrid or ListBox)
(This operation I will be do twice.. before and after the modification of
the files.. and after than I want to compare this information!)

Thanks a lot for any suggestion..
johnnyb

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: lmanchur. | last post by:
Hi, I am implementing a version of the C++ STL map class for a school assignment and have a question... what is the difference between const_iterator and just iterator??... If I already have an...
5
by: W. D. | last post by:
Hi, I am having a great deal of trouble trying to get ZeosLib (6.1.5 stable) to work with Borland C++ Builder 6. Since there weren't any C++ examples in the base package...
14
by: Giovanni Bajo | last post by:
Hello, python24.dll is much bigger than python23.dll. This was discussed already on the newsgroup, see the thread starting here:...
5
by: bcanavan | last post by:
When I export xml(and xls) from Access 2003 the result is a complete report in a single page. I would like to get the entire report in a single page (one trip to the server) for printing and...
1
by: janek | last post by:
My question How can I do something like this... in Builder C++: In ListBox I've got a list of the files (load by the FindDir) and what should I do to pull out from these files the size and the...
12
by: Tee | last post by:
String Builder & String, what's the difference. and when to use which ? Thanks.
10
by: Pieter Coucke | last post by:
Hi, I need to find all the files in a directory which are younger than a given date (modification date or creation date). Also I need to find a way to find all files in a directory which are...
10
by: Immortalist | last post by:
Various aquisition devices that guide learning along particular pathways towards human biases. And as E.O. Wilson might say mental development appears to be genetically constrained. (1) Language...
2
by: alex masselot | last post by:
Hello I'm not familiar with xerces in c++ Currently, we parse xml file with perl (typically XML::Twig) and java (dom4j). With both API, there is a very comfortable way to mix Sax/DOM, by...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.