Click here to Skip to main content
15,909,091 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: i want code please someone help Pin
Steven J Jowett25-Jun-09 0:38
Steven J Jowett25-Jun-09 0:38 
GeneralRe: i want code please someone help Pin
Jon_Boy25-Jun-09 1:31
Jon_Boy25-Jun-09 1:31 
GeneralRe: i want code please someone help Pin
Steven J Jowett25-Jun-09 2:39
Steven J Jowett25-Jun-09 2:39 
AnswerRe: i want code please someone help Pin
Dave Kreskowiak24-Jun-09 4:07
mveDave Kreskowiak24-Jun-09 4:07 
AnswerRe: i want code please someone help Pin
dan!sh 24-Jun-09 7:39
professional dan!sh 24-Jun-09 7:39 
Questionproperty grid Pin
bhargava240923-Jun-09 23:42
bhargava240923-Jun-09 23:42 
AnswerRe: property grid PinPopular
Christian Graus23-Jun-09 23:45
protectorChristian Graus23-Jun-09 23:45 
GeneralRe: property grid Pin
bhargava240924-Jun-09 0:11
bhargava240924-Jun-09 0:11 
GeneralRe: property grid Pin
Jon_Boy24-Jun-09 1:30
Jon_Boy24-Jun-09 1:30 
GeneralRe: property grid Pin
Henry Minute24-Jun-09 1:33
Henry Minute24-Jun-09 1:33 
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 

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.