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

.NET (Core and Framework)

 
GeneralRe: datagridview Problem Pin
Jon_Boy1-Dec-08 7:12
Jon_Boy1-Dec-08 7:12 
GeneralRe: datagridview Problem Pin
swapnil_bhanagle1-Dec-08 8:41
swapnil_bhanagle1-Dec-08 8:41 
GeneralRe: datagridview Problem Pin
Jon_Boy2-Dec-08 2:08
Jon_Boy2-Dec-08 2:08 
QuestionXML serializition. Pin
Member 375281628-Nov-08 3:10
Member 375281628-Nov-08 3:10 
AnswerRe: XML serializition. Pin
Dave Kreskowiak28-Nov-08 5:49
mveDave Kreskowiak28-Nov-08 5:49 
QuestionFile HashCheck Problem Pin
fqn27-Nov-08 23:11
fqn27-Nov-08 23:11 
AnswerRe: File HashCheck Problem Pin
Simon P Stevens27-Nov-08 23:51
Simon P Stevens27-Nov-08 23:51 
AnswerRe: File HashCheck Problem Pin
Dave Kreskowiak28-Nov-08 5:45
mveDave Kreskowiak28-Nov-08 5:45 
There's a problem with doing this instead of relying on the file system to do it for you.

You have to read the entire source file, hash it as you copy it, then write the file out to the destination. Then, you have to go and read the entire destination file and hash it. Depending on the file size, this can be a time consuming process! Then compare the hashes. But, this does NOT guarantee a good copy!! Why?? What if the source file was read incorrectly?? You have no way of knowing that it was a bad read, so you'll end up hashing it and writing it out correctly, and just end up guaranteeing that you made a bad copy.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




AnswerRe: File HashCheck Problem Pin
Mark Churchill30-Nov-08 15:23
Mark Churchill30-Nov-08 15:23 
QuestionForm Size Problem Pin
swapnil_bhanagle27-Nov-08 8:35
swapnil_bhanagle27-Nov-08 8:35 
AnswerRe: Form Size Problem Pin
EliottA27-Nov-08 9:48
EliottA27-Nov-08 9:48 
AnswerRe: Form Size Problem Pin
EliottA27-Nov-08 10:18
EliottA27-Nov-08 10:18 
Questionform maximize Pin
swapnil_bhanagle27-Nov-08 6:00
swapnil_bhanagle27-Nov-08 6:00 
AnswerRe: form maximize Pin
EliottA27-Nov-08 6:38
EliottA27-Nov-08 6:38 
GeneralRe: form maximize Pin
Luc Pattyn27-Nov-08 10:21
sitebuilderLuc Pattyn27-Nov-08 10:21 
GeneralRe: form maximize Pin
EliottA28-Nov-08 2:25
EliottA28-Nov-08 2:25 
Question.NET Framework Remoting Pin
MW195627-Nov-08 1:14
MW195627-Nov-08 1:14 
QuestionHosting control in details view in a DataGridView Pin
kensai26-Nov-08 8:40
kensai26-Nov-08 8:40 
AnswerRe: Hosting control in details view in a DataGridView Pin
kensai29-Nov-08 3:33
kensai29-Nov-08 3:33 
QuestionRead Encrypted email with vb.net and outlook automation Pin
mandrake_226-Nov-08 1:58
mandrake_226-Nov-08 1:58 
AnswerRe: Read Encrypted email with vb.net and outlook automation Pin
led mike26-Nov-08 7:15
led mike26-Nov-08 7:15 
GeneralRe: Read Encrypted email with vb.net and outlook automation Pin
mandrake_226-Nov-08 21:15
mandrake_226-Nov-08 21:15 
GeneralRe: Read Encrypted email with vb.net and outlook automation Pin
led mike1-Dec-08 4:40
led mike1-Dec-08 4:40 
GeneralRe: Read Encrypted email with vb.net and outlook automation Pin
mandrake_21-Dec-08 6:04
mandrake_21-Dec-08 6:04 
GeneralRe: Read Encrypted email with vb.net and outlook automation Pin
led mike1-Dec-08 8:00
led mike1-Dec-08 8:00 

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.