Click here to Skip to main content
15,844,498 members
Home / Discussions / C#
   

C#

 
GeneralTried and got same behaviour, Ideas? Pin
sew44126-May-07 3:40
sew44126-May-07 3:40 
GeneralRe: Tried and got same behaviour, Ideas? Pin
Luc Pattyn6-May-07 5:01
sitebuilderLuc Pattyn6-May-07 5:01 
GeneralDebugger affecting reception of data Pin
sew44127-May-07 3:50
sew44127-May-07 3:50 
QuestionVS.NET, Winform default settings Pin
Imtiaz Murtaza5-May-07 4:22
Imtiaz Murtaza5-May-07 4:22 
AnswerRe: VS.NET, Winform default settings Pin
subai5-May-07 4:56
subai5-May-07 4:56 
QuestionPreserve creation date Pin
electriac5-May-07 4:08
electriac5-May-07 4:08 
AnswerRe: Preserve creation date Pin
subai5-May-07 5:02
subai5-May-07 5:02 
AnswerRe: Preserve creation date Pin
Luc Pattyn5-May-07 7:42
sitebuilderLuc Pattyn5-May-07 7:42 
Hi,

Explorer when copying a file sets creation time current,
but preserves last modified time (which seems logical).
And I assume File.Copy does the same.

AFAIK there is no function that does it differently.

You could make a method that copies a file and restores some
of the file properties, e.g. by using File.Get/SetCreationTime.

Regards,




Luc Pattyn

[My Articles]

GeneralRe: Preserve creation date Pin
electriac5-May-07 9:16
electriac5-May-07 9:16 
GeneralRe: Preserve creation date Pin
Luc Pattyn5-May-07 9:45
sitebuilderLuc Pattyn5-May-07 9:45 
GeneralRe: Preserve creation date [modified] Pin
electriac5-May-07 10:01
electriac5-May-07 10:01 
GeneralRe: Preserve creation date Pin
Luc Pattyn5-May-07 10:20
sitebuilderLuc Pattyn5-May-07 10:20 
GeneralRe: Preserve creation date Pin
Luc Pattyn5-May-07 13:31
sitebuilderLuc Pattyn5-May-07 13:31 
GeneralRe: Preserve creation date Pin
electriac5-May-07 13:42
electriac5-May-07 13:42 
AnswerRe: Preserve creation date Pin
AFSEKI7-May-07 3:56
AFSEKI7-May-07 3:56 
GeneralRe: Preserve creation date Pin
electriac8-May-07 13:36
electriac8-May-07 13:36 
Questionhow can the software retrieve machine's servername and change the datasource to the machine's servername... Pin
fgfdhghgfd5-May-07 3:17
fgfdhghgfd5-May-07 3:17 
AnswerRe: how can the software retrieve machine's servername and change the datasource to the machine's servername... Pin
Rob Graham5-May-07 5:15
Rob Graham5-May-07 5:15 
QuestionDevelop web application using communicator web access Pin
Hardik Patel (GTL)5-May-07 0:30
Hardik Patel (GTL)5-May-07 0:30 
Questionhow to insert unicode into SQL server from c# Pin
rehab14-May-07 22:49
rehab14-May-07 22:49 
AnswerRe: how to insert unicode into SQL server from c# Pin
Seishin#5-May-07 1:25
Seishin#5-May-07 1:25 
AnswerRe: how to insert unicode into SQL server from c# Pin
Muammar©5-May-07 2:49
Muammar©5-May-07 2:49 
AnswerRe: how to insert unicode into SQL server from c# Pin
Rob Graham5-May-07 5:08
Rob Graham5-May-07 5:08 
AnswerRe: how to insert unicode into SQL server from c# Pin
AFSEKI7-May-07 3:59
AFSEKI7-May-07 3:59 
QuestionAssigning EventHandler once in a method invoked many times Pin
Seishin#4-May-07 22:29
Seishin#4-May-07 22:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.