<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=781511705-09012008><FONT face=Arial
color=#0000ff size=2>Vikas, there are some controls out there now that show the
differences between files called rmControls...they are free and I see there is
D5 support.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781511705-09012008><FONT face=Arial
color=#0000ff size=2><A
href="http://www.delphi32.com/vcl/4834/">http://www.delphi32.com/vcl/4834/</A> is
a link I found.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781511705-09012008><FONT face=Arial
color=#0000ff size=2>It highlights the differences in the files, and its very
similar to MS Visual SorceSafe's file difference viewer.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=781511705-09012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=781511705-09012008><FONT face=Arial
color=#0000ff size=2>Jeremy</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> delphi-bounces@listserver.123.net.nz
[mailto:delphi-bounces@listserver.123.net.nz] <B>On Behalf Of
</B>Vikas...<BR><B>Sent:</B> 9 January 2008 17:23<BR><B>To:</B>
delphi@moorhouse.net.nz; NZ Borland Developers Group - Delphi
List<BR><B>Subject:</B> Re: [DUG] File age locator function<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi David</DIV>
<DIV> </DIV>
<DIV>well actually i am writing a file parser as one module for
my project which actually shows the diference i done in new file wrt to old
file</DIV>
<DIV> </DIV>
<DIV>But like you said yes the time stamp will change and it isnt the
ideal approach i belive now.</DIV>
<DIV> </DIV>
<DIV>i like to know is there anyway in delphi we can trace how many times the
file has been modified or let say how many times the file has been saved right
from the day it has created.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>Vikas</DIV>
<DIV> </DIV>
<DIV><BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 1/9/08, <B class=gmail_sendername>David
Moorhouse</B> <<A
href="mailto:delphi@moorhouse.net.nz">delphi@moorhouse.net.nz</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi
Vikas<BR><BR>What exactly are you trying to do with the detection of the file
age ?<BR><BR>The file timestamp will reflect the system time at the time the
file is <BR>saved - so obviously if the system time is changed then the
timestamp on<BR>the file will reflect that changed timestamp
!<BR><BR>HTH<BR><BR>David<BR><BR><BR>On Tue, 8 Jan 2008 15:37:22 +0530, you
wrote:<BR><BR>>Hi, <BR>><BR>>I have one query regarding the age of
the file.<BR>><BR>>well is there anyway to find which file is new one.
Ok let me explain my<BR>>problem usign an
example<BR>><BR>>let say i have 2 files both same files
text1.txt and text1.<BR>><BR>>data is
text1<BR>>*************<BR>>Delphi
5<BR>>*************<BR>><BR>>and it is genared at say 8th jan 2008
2:30 pm<BR>><BR>>now i open the tex1 file again and add more lines in it
<BR>> data is text1<BR>>*************<BR>>Delphi 5 try
Delphi 6<BR>>*************<BR>><BR>>Now the file is saved at say 8th
jan 2008 3:00pm<BR>><BR>>when i used FileAge function it showed file
saved at 3:00pm is new <BR>><BR>><BR>>but i faced one
problem i changed my system time to 10 december 2007 and i<BR>>added more
lines in it<BR>><BR>> data is text1<BR>>*************<BR>>Delphi
5 try Delphi 6<BR>> try Delphi 2007
<BR>>*************<BR>><BR>>Adn i saved it at 10 december 2007 4
pm<BR>><BR>>now the 10 dcember file should be the altest one sicne i
have just done<BR>>canges in it<BR>>but the file age function failed
here it showed the file genrated at <BR>>10december the old one and things
went completly wrong<BR>><BR>>Can any one suggets me any function or way
i can track the file chnage i<BR>>mean any way i can trace the cahnce
ireespective of system time <BR>><BR>>i will really apreciate your help
since i am badly struck at this
stage<BR>><BR>>Regards<BR>>Vikas<BR><BR><BR>_______________________________________________<BR>NZ
Borland Developers Group - Delphi mailing list <BR>Post: <A
href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</A><BR>Admin:
<A
href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</A><BR>Unsubscribe:
send an email to <A
href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</A>
with Subject: unsubscribe<BR></BLOCKQUOTE></DIV><BR><BR clear=all><BR>--
<BR> vikas </BODY></HTML>