Click here to Skip to main content
16,005,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Selecting current email Pin
Dave Kreskowiak19-Dec-06 5:10
mveDave Kreskowiak19-Dec-06 5:10 
GeneralRe: Selecting current email Pin
infra2k419-Dec-06 5:24
infra2k419-Dec-06 5:24 
Questiondrawing graphics in vb.net Pin
nbulut19-Dec-06 0:30
nbulut19-Dec-06 0:30 
AnswerRe: drawing graphics in vb.net Pin
infra2k419-Dec-06 5:04
infra2k419-Dec-06 5:04 
AnswerRe: drawing graphics in vb.net Pin
Steven J Jowett19-Dec-06 22:58
Steven J Jowett19-Dec-06 22:58 
AnswerRe: drawing graphics in vb.net Pin
nbulut20-Dec-06 4:42
nbulut20-Dec-06 4:42 
QuestionNo Duplicates in text file Pin
johnjsm18-Dec-06 23:53
johnjsm18-Dec-06 23:53 
AnswerRe: No Duplicates in text file Pin
ChandraRam19-Dec-06 1:35
ChandraRam19-Dec-06 1:35 
johnjsm wrote:
Hi,
I am adding text to a text file but I don't want to have any duplicates. I am searching a system for files and if the file occurs twice I only want it added once to the text file.
If any one can help it would be great.
Thanks


There are many ways of implementing this...

You could write it to a database table and check if it already exists (probably the easiest method)

You could create a tree structure or some kind of sorted array in memory and search in it...
AnswerRe: No Duplicates in text file Pin
Dave Kreskowiak19-Dec-06 4:46
mveDave Kreskowiak19-Dec-06 4:46 
Questioninsert new record to database Pin
mit222318-Dec-06 23:52
mit222318-Dec-06 23:52 
AnswerRe: insert new record to database Pin
ChandraRam19-Dec-06 1:37
ChandraRam19-Dec-06 1:37 
AnswerRe: insert new record to database Pin
Dave Kreskowiak19-Dec-06 4:44
mveDave Kreskowiak19-Dec-06 4:44 
JokeRe: insert new record to database Pin
Paul Conrad19-Dec-06 5:53
professionalPaul Conrad19-Dec-06 5:53 
QuestionMultiple Generic TypeParams in a VB.NET Class Definition? Pin
Netricity18-Dec-06 23:35
Netricity18-Dec-06 23:35 
AnswerRe: Multiple Generic TypeParams in a VB.NET Class Definition? Pin
Netricity19-Dec-06 1:20
Netricity19-Dec-06 1:20 
AnswerRe: Multiple Generic TypeParams in a VB.NET Class Definition? Pin
Dave Kreskowiak19-Dec-06 4:41
mveDave Kreskowiak19-Dec-06 4:41 
GeneralRe: Multiple Generic TypeParams in a VB.NET Class Definition? Pin
Netricity20-Dec-06 10:59
Netricity20-Dec-06 10:59 
Questionhow I make virtual serial port to my usb port? Pin
Agbaria Ahmad18-Dec-06 23:16
Agbaria Ahmad18-Dec-06 23:16 
AnswerRe: how I make virtual serial port to my usb port? Pin
Dave Kreskowiak19-Dec-06 3:07
mveDave Kreskowiak19-Dec-06 3:07 
AnswerRe: how I make virtual serial port to my usb port? Pin
roo42620-Dec-06 16:15
roo42620-Dec-06 16:15 
Questiongetting rows from more than 1 criteria? [modified] Pin
Eric Georgiades18-Dec-06 22:12
Eric Georgiades18-Dec-06 22:12 
AnswerRe: getting rows from more than 1 criteria? Pin
Dave Kreskowiak19-Dec-06 3:03
mveDave Kreskowiak19-Dec-06 3:03 
GeneralRe: getting rows from more than 1 criteria? Pin
tbryce31119-Dec-06 5:59
tbryce31119-Dec-06 5:59 
GeneralRe: getting rows from more than 1 criteria? Pin
Eric Georgiades19-Dec-06 6:25
Eric Georgiades19-Dec-06 6:25 
GeneralRe: getting rows from more than 1 criteria? Pin
tbryce31119-Dec-06 7:36
tbryce31119-Dec-06 7:36 

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.