Click here to Skip to main content
15,887,944 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: property grid Pin
Jon_Boy24-Jun-09 1:28
Jon_Boy24-Jun-09 1:28 
GeneralRe: property grid Pin
bhargava240925-Jun-09 0:39
bhargava240925-Jun-09 0:39 
Questioncan't write all text to txt file Pin
TheMrProgrammer23-Jun-09 22:50
TheMrProgrammer23-Jun-09 22:50 
AnswerRe: can't write all text to txt file PinPopular
Christian Graus23-Jun-09 23:06
protectorChristian Graus23-Jun-09 23:06 
GeneralRe: can't write all text to txt file Pin
Jon_Boy24-Jun-09 1:31
Jon_Boy24-Jun-09 1:31 
GeneralRe: can't write all text to txt file Pin
TheMrProgrammer24-Jun-09 4:25
TheMrProgrammer24-Jun-09 4:25 
GeneralRe: can't write all text to txt file Pin
Christian Graus24-Jun-09 10:41
protectorChristian Graus24-Jun-09 10:41 
GeneralRe: can't write all text to txt file Pin
TheMrProgrammer24-Jun-09 19:51
TheMrProgrammer24-Jun-09 19:51 
hi christian

my program is a file searching utility
i have made a class SEARCHER which goes to all directories and gets the
files that match the search string.

i wanted to index all files present in HDD
so i made an array of SEARCHER with size = all drives and call it using *.* as search string. all members are called in a separate thread so as to do all
drives at once

i have added a list box which displays the found files.
then i iterate through all items of listbox writing them one by one

I have dropped the static arrays

but the prob persists. if total items are 25000
then only top 15000 or 10000 are being written


Christian Graus wrote:
you have threads writing files as the data is being filled


no when the list box is filled then only the writing starts


Christian Graus wrote:
do they write to the same HDD ?


yes they write to the same HDD


Christian Graus wrote:
Why do you have 5 threads all writing at once ?


to write more in less time.The no of threads depend on the number of drives that are ready.

i also tried running a single thread.
in it also, only some files of top are being written.

TheMrProgrammer

AnswerRe: can't write all text to txt file Pin
Luc Pattyn24-Jun-09 13:34
sitebuilderLuc Pattyn24-Jun-09 13:34 
GeneralRe: can't write all text to txt file Pin
TheMrProgrammer24-Jun-09 19:55
TheMrProgrammer24-Jun-09 19:55 
GeneralRe: can't write all text to txt file Pin
Luc Pattyn24-Jun-09 23:29
sitebuilderLuc Pattyn24-Jun-09 23:29 
GeneralRe: can't write all text to txt file Pin
TheMrProgrammer25-Jun-09 3:37
TheMrProgrammer25-Jun-09 3:37 
GeneralRe: can't write all text to txt file Pin
Luc Pattyn25-Jun-09 3:51
sitebuilderLuc Pattyn25-Jun-09 3:51 
QuestionHexadecimal const declare Pin
garfield18523-Jun-09 21:32
garfield18523-Jun-09 21:32 
AnswerRe: Hexadecimal const declare Pin
Christian Graus23-Jun-09 21:38
protectorChristian Graus23-Jun-09 21:38 
AnswerRe: Hexadecimal const declare Pin
JoeSharp23-Jun-09 22:03
JoeSharp23-Jun-09 22:03 
GeneralRe: Hexadecimal const declare Pin
garfield18523-Jun-09 22:11
garfield18523-Jun-09 22:11 
Questionhow to start a project Pin
shivam jaitly23-Jun-09 21:32
shivam jaitly23-Jun-09 21:32 
AnswerRe: how to start a project Pin
Christian Graus23-Jun-09 21:38
protectorChristian Graus23-Jun-09 21:38 
AnswerRe: how to start a project Pin
Dave Kreskowiak24-Jun-09 4:12
mveDave Kreskowiak24-Jun-09 4:12 
AnswerRe: how to start a project Pin
Jon_Boy24-Jun-09 4:18
Jon_Boy24-Jun-09 4:18 
GeneralRe: how to start a project Pin
scottgp24-Jun-09 5:24
professionalscottgp24-Jun-09 5:24 
GeneralRe: how to start a project Pin
Jon_Boy24-Jun-09 6:33
Jon_Boy24-Jun-09 6:33 
QuestionDHTMLEdit and Font color Pin
kof_fans23-Jun-09 20:58
kof_fans23-Jun-09 20:58 
AnswerRe: DHTMLEdit and Font color Pin
Aman Bhullar23-Jun-09 21:22
Aman Bhullar23-Jun-09 21:22 

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.