Click here to Skip to main content
15,916,042 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to insert multiple selected items of listbox in sql server 2000 table Pin
rprateek4-Aug-08 15:22
rprateek4-Aug-08 15:22 
GeneralRe: How to insert multiple selected items of listbox in sql server 2000 table Pin
Rameez Raja4-Aug-08 17:26
Rameez Raja4-Aug-08 17:26 
QuestionConceptual Help Needed Pin
Rafone3-Aug-08 16:13
Rafone3-Aug-08 16:13 
AnswerRe: Conceptual Help Needed Pin
DePatrick3-Aug-08 17:30
DePatrick3-Aug-08 17:30 
AnswerRe: Conceptual Help Needed Pin
Paul Conrad3-Aug-08 18:39
professionalPaul Conrad3-Aug-08 18:39 
AnswerRe: Conceptual Help Needed Pin
Johan Hakkesteegt4-Aug-08 0:15
Johan Hakkesteegt4-Aug-08 0:15 
GeneralRe: Conceptual Help Needed Pin
Rafone4-Aug-08 2:50
Rafone4-Aug-08 2:50 
GeneralRe: Conceptual Help Needed Pin
Johan Hakkesteegt4-Aug-08 3:12
Johan Hakkesteegt4-Aug-08 3:12 
That is a trickier question.

Theoretically speaking the amount of files could be enormous, and the amount of items in each file could be enormous, (EnormousFileAmount x EnormousItemAmount = HumongousDataQuantity) therefore it would not be advisable to first load all files into memory.
However, the scenario probably is something along the lines of electronic order files, which means that the app would never be handling more than a limited amount of files at any given run.
Connecting many times to a data source (your files) and doing a little work each time is generally speaking slower than making a single connection to a data source and doing a lot of work at once.
However...
Because you are accessing files, you need to make a separate connection to each separate file anyway, so that point is also really moot.
Which brings us to the advantage of many connections and little work each time: data integrity.
I.e. if a connection is interrupted for whatever reason, you loose very little work, and when you are using loops inside loops, there is much less danger of information getting mixed up.

P.S. pointer for extra credit: use System.IO.File.Move("FileLocation/FileName", "ArchiveFileLocation/FileName"), when handling multiple files.

My advice is free, and you may get what you paid for.

QuestionHow to suppress the mouseclicks in WebBrowser control Pin
MAP Tiger3-Aug-08 8:29
MAP Tiger3-Aug-08 8:29 
AnswerRe: How to suppress the mouseclicks in WebBrowser control Pin
jzonthemtn4-Aug-08 8:54
jzonthemtn4-Aug-08 8:54 
Questionhow to connect remote access db on my site? [modified] Pin
blackeyes3-Aug-08 3:31
blackeyes3-Aug-08 3:31 
AnswerRe: how to connect remote access db on my site? Pin
firasmcsd3-Aug-08 4:11
firasmcsd3-Aug-08 4:11 
GeneralRe: how to connect remote access db on my site? Pin
blackeyes3-Aug-08 10:42
blackeyes3-Aug-08 10:42 
AnswerRe: how to connect remote access db on my site? Pin
jzonthemtn3-Aug-08 4:13
jzonthemtn3-Aug-08 4:13 
GeneralRe: how to connect remote access db on my site? Pin
blackeyes3-Aug-08 10:45
blackeyes3-Aug-08 10:45 
GeneralRe: how to connect remote access db on my site? Pin
jzonthemtn4-Aug-08 10:01
jzonthemtn4-Aug-08 10:01 
AnswerRe: how to connect remote access db on my site? Pin
Vimalsoft(Pty) Ltd3-Aug-08 8:35
professionalVimalsoft(Pty) Ltd3-Aug-08 8:35 
QuestionHow to Run My Program before Welcome Screen . Pin
en.Mahdi2-Aug-08 20:12
en.Mahdi2-Aug-08 20:12 
AnswerRe: How to Run My Program before Welcome Screen . Pin
jzonthemtn3-Aug-08 4:10
jzonthemtn3-Aug-08 4:10 
QuestionIs it possible to capture mouse position in WebBrowser control Pin
MAP Tiger2-Aug-08 11:36
MAP Tiger2-Aug-08 11:36 
AnswerRe: Is it possible to capture mouse position in WebBrowser control Pin
jzonthemtn2-Aug-08 12:14
jzonthemtn2-Aug-08 12:14 
GeneralRe: Is it possible to capture mouse position in WebBrowser control Pin
MAP Tiger3-Aug-08 7:17
MAP Tiger3-Aug-08 7:17 
GeneralRe: Is it possible to capture mouse position in WebBrowser control Pin
jzonthemtn3-Aug-08 10:58
jzonthemtn3-Aug-08 10:58 
QuestionHow to Change Chart Color in Crystal Report Pin
dineeshd2-Aug-08 11:32
dineeshd2-Aug-08 11:32 
AnswerRe: How to Change Chart Color in Crystal Report Pin
Paul Conrad2-Aug-08 18:57
professionalPaul Conrad2-Aug-08 18: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.