Click here to Skip to main content
15,916,600 members
Home / Discussions / C#
   

C#

 
AnswerRe: Unhandled exception while compiling c# project in mono Pin
ScottM112-Nov-08 4:14
ScottM112-Nov-08 4:14 
AnswerRe: Unhandled exception while compiling c# project in mono Pin
Dave Kreskowiak12-Nov-08 4:15
mveDave Kreskowiak12-Nov-08 4:15 
GeneralRe: Unhandled exception while compiling c# project in mono Pin
#realJSOP12-Nov-08 5:03
professional#realJSOP12-Nov-08 5:03 
GeneralRe: Unhandled exception while compiling c# project in mono Pin
Dave Kreskowiak12-Nov-08 12:04
mveDave Kreskowiak12-Nov-08 12:04 
QuestionAlligning Dynamic Radio button [modified] Pin
B8712-Nov-08 2:49
B8712-Nov-08 2:49 
AnswerRe: Alligning Dynamic Radio button Pin
Andrew Rissing12-Nov-08 3:46
Andrew Rissing12-Nov-08 3:46 
AnswerRe: Alligning Dynamic Radio button Pin
ScottM112-Nov-08 3:53
ScottM112-Nov-08 3:53 
QuestionDirectory Contents Change Comparison Pin
Jammer12-Nov-08 2:39
Jammer12-Nov-08 2:39 
Hi All,

I have an application that builds a specialised database of certain file types. The app scans a machine and stores its information in a SqlCe database.

I also want to enable the application to detect any changes and update the database accordingly.

This is where my query lies. So far my thoughts on enabling this involve some form of hashing. So for each directory that the application adds files from it will also make a hash value from that directories filenames by concatenating all the file names and getting, for instance, an MD5 hash from that string. Then it stores that hash value against its directory in a table in the DB.

This table could then be used to drive a syncronisation process by recreating new hash values for each directory entry in the table and comparing it to the stored hash value. If they match no work is required, if not the directory and the DB need syncronising.

One other question would be what field setup in the DB would be recommended for storing these hash values?

Does this concept overall make sense?


AnswerRe: Directory Contents Change Comparison Pin
Simon P Stevens12-Nov-08 3:13
Simon P Stevens12-Nov-08 3:13 
GeneralRe: Directory Contents Change Comparison Pin
Jammer12-Nov-08 3:29
Jammer12-Nov-08 3:29 
AnswerRe: Directory Contents Change Comparison Pin
Pete O'Hanlon12-Nov-08 9:20
mvePete O'Hanlon12-Nov-08 9:20 
GeneralRe: Directory Contents Change Comparison Pin
Jammer12-Nov-08 9:22
Jammer12-Nov-08 9:22 
GeneralRe: Directory Contents Change Comparison Pin
Pete O'Hanlon12-Nov-08 9:30
mvePete O'Hanlon12-Nov-08 9:30 
GeneralRe: Directory Contents Change Comparison Pin
Jammer12-Nov-08 9:31
Jammer12-Nov-08 9:31 
QuestionCrystal report - urgent Pin
muharrem12-Nov-08 2:24
muharrem12-Nov-08 2:24 
AnswerRe: Crystal report - urgent Pin
Paul Conrad12-Nov-08 3:39
professionalPaul Conrad12-Nov-08 3:39 
Questioninsert in a stored procedure Pin
swjam12-Nov-08 1:46
swjam12-Nov-08 1:46 
AnswerRe: insert in a stored procedure Pin
Ashfield12-Nov-08 2:13
Ashfield12-Nov-08 2:13 
AnswerRe: insert in a stored procedure Pin
Simon P Stevens12-Nov-08 3:07
Simon P Stevens12-Nov-08 3:07 
AnswerRe: what do i put in the primary key value in my insert clause? Pin
swjam12-Nov-08 4:07
swjam12-Nov-08 4:07 
GeneralRe: what do i put in the primary key value in my insert clause? Pin
J4amieC12-Nov-08 4:58
J4amieC12-Nov-08 4:58 
QuestionDijkstra shortest path Help Pin
dudz198712-Nov-08 1:31
dudz198712-Nov-08 1:31 
AnswerRe: Dijkstra shortest path Help Pin
Simon P Stevens12-Nov-08 2:59
Simon P Stevens12-Nov-08 2:59 
Questionaccess store procedure Pin
George_George12-Nov-08 1:30
George_George12-Nov-08 1:30 
AnswerRe: access store procedure Pin
Simon P Stevens12-Nov-08 2:57
Simon P Stevens12-Nov-08 2:57 

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.