Click here to Skip to main content
15,892,965 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How to execute method n-times in a second? Pin
Pete O'Hanlon17-Aug-11 23:57
mvePete O'Hanlon17-Aug-11 23:57 
AnswerRe: How to execute method n-times in a second? Pin
Luc Pattyn18-Aug-11 2:46
sitebuilderLuc Pattyn18-Aug-11 2:46 
Questionhttp://www.hotelsneardisneyland.biz/ Pin
lennonn1215-Aug-11 21:13
lennonn1215-Aug-11 21:13 
Question.NET Online Travel Guide Project Pin
Vanessa Vidal15-Aug-11 13:20
Vanessa Vidal15-Aug-11 13:20 
AnswerRe: .NET Online Travel Guide Project Pin
Not Active15-Aug-11 13:27
mentorNot Active15-Aug-11 13:27 
AnswerRe: .NET Online Travel Guide Project Pin
#realJSOP17-Aug-11 4:11
mve#realJSOP17-Aug-11 4:11 
AnswerRe: .NET Online Travel Guide Project Pin
Abhinav S17-Aug-11 8:23
Abhinav S17-Aug-11 8:23 
QuestionFile write times in .NET local drive vs. NAS drive Pin
MikeAngel15-Aug-11 11:07
MikeAngel15-Aug-11 11:07 
Hi,

I'm trying do write a backup program in VB .NET. It needs to avoid backing up files that have already been backed up and so it compares the last write times of the source and backup files. If they are the same, the backup for the file is not performed.

If both the source file the backup file are on the local hard drive, the comparisons work correctly.

If both the source file the backup file are on a Network Attached Storage drive, the comparisons work correctly.

But if the source file is on the local hard drive and the backup file is on the Network Attached Storage drive, the comparison always says the they are different no matter what.

Code: (I'm using the CompareTo method.)

Dim SourceHasLaterDate As Int16 = SourceWriteTime.CompareTo(BackupWriteTime)

Is there any way I can get an accurate result for the third condition?

Thanks,

Mike

PS: I'm modifying the backup program written by Taner Riffit.
AnswerRe: File write times in .NET local drive vs. NAS drive Pin
Luc Pattyn15-Aug-11 11:39
sitebuilderLuc Pattyn15-Aug-11 11:39 
GeneralRe: File write times in .NET local drive vs. NAS drive Pin
MikeAngel15-Aug-11 12:10
MikeAngel15-Aug-11 12:10 
QuestionMessage Closed Pin
15-Aug-11 10:43
mwhardin15-Aug-11 10:43 
AnswerRe: Is Sql2Code.com a good developer tool? Would you use it? Pin
Richard MacCutchan15-Aug-11 22:34
mveRichard MacCutchan15-Aug-11 22:34 
GeneralRe: Is Sql2Code.com a good developer tool? Would you use it? Pin
mwhardin16-Aug-11 9:28
mwhardin16-Aug-11 9:28 
QuestionTHREE TIER WITH ASP.NET WEBSERVICES Pin
sheemap14-Aug-11 11:47
sheemap14-Aug-11 11:47 
AnswerPlease don't - Repost Pin
thatraja14-Aug-11 18:18
professionalthatraja14-Aug-11 18:18 
AnswerRe: THREE TIER WITH ASP.NET WEBSERVICES Pin
Not Active14-Aug-11 18:53
mentorNot Active14-Aug-11 18:53 
QuestionDATAREPEATER GUIDE Pin
AleBio10-Aug-11 3:36
AleBio10-Aug-11 3:36 
AnswerRe: DATAREPEATER GUIDE Pin
Dave Kreskowiak10-Aug-11 7:22
mveDave Kreskowiak10-Aug-11 7:22 
AnswerRe: DATAREPEATER GUIDE Pin
Eddy Vluggen10-Aug-11 12:34
professionalEddy Vluggen10-Aug-11 12:34 
AnswerRe: DATAREPEATER GUIDE Pin
sivakumat11-Aug-11 1:34
sivakumat11-Aug-11 1:34 
QuestionSystem Enumeration - CreateClassEnumerator Pin
SarahJMR8-Aug-11 8:52
SarahJMR8-Aug-11 8:52 
QuestionRe: System Enumeration - CreateClassEnumerator Pin
Shameel10-Aug-11 5:20
professionalShameel10-Aug-11 5:20 
AnswerRe: System Enumeration - CreateClassEnumerator Pin
SarahJMR10-Aug-11 5:36
SarahJMR10-Aug-11 5:36 
GeneralRe: System Enumeration - CreateClassEnumerator Pin
Shameel10-Aug-11 5:54
professionalShameel10-Aug-11 5:54 
GeneralRe: System Enumeration - CreateClassEnumerator Pin
SarahJMR10-Aug-11 6:02
SarahJMR10-Aug-11 6:02 

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.