Click here to Skip to main content
15,913,944 members
Home / Discussions / C#
   

C#

 
AnswerRe: I can't convert a var string to a var int Pin
Guffa14-Oct-05 22:02
Guffa14-Oct-05 22:02 
AnswerRe: I can't convert a var string to a var int Pin
Andrew Kirillov14-Oct-05 22:05
Andrew Kirillov14-Oct-05 22:05 
QuestionRichtextbox scrolling Pin
Anonymous14-Oct-05 18:30
Anonymous14-Oct-05 18:30 
AnswerRe: Richtextbox scrolling Pin
g00fyman15-Oct-05 0:02
g00fyman15-Oct-05 0:02 
GeneralRe: Richtextbox scrolling Pin
AB777115-Oct-05 2:55
AB777115-Oct-05 2:55 
GeneralRe: Richtextbox scrolling Pin
mav.northwind15-Oct-05 22:43
mav.northwind15-Oct-05 22:43 
GeneralRe: Richtextbox scrolling Pin
AB777116-Oct-05 19:08
AB777116-Oct-05 19:08 
Questiongetting folder size from windows Pin
g00fyman14-Oct-05 18:19
g00fyman14-Oct-05 18:19 
hi to all, Smile | :)

i am writing an app that lets users browse a folder. so they can perform several file/folder tasks on that folder and its subfolder/file.

i would like to be able to display teh folder stats when they open the top level folder.
at the moment, i am using directoryinfo and fileinfo and recursivley iterating the entire structure from the top level folder down, jsut to get the filesize.

is there a way to grab this from windows any quicker than this, cause if they select a drive ... well u know whats going to happen. i am also only building the tree structure that reflects the filesystem to a certain depth until they click to that depth i dont go any further.

if there is no other way to get folder size i might try creating the entire tree structure in the same recursive loop and see if the overhead is too much

any ideas pls??

regards,
g00fy
AnswerRe: getting folder size from windows Pin
Guffa14-Oct-05 22:07
Guffa14-Oct-05 22:07 
GeneralRe: getting folder size from windows Pin
g00fyman14-Oct-05 22:14
g00fyman14-Oct-05 22:14 
GeneralRe: getting folder size from windows Pin
Guffa14-Oct-05 22:36
Guffa14-Oct-05 22:36 
Questioncode about case-based reasoning Pin
Rachel.S Shen14-Oct-05 16:15
Rachel.S Shen14-Oct-05 16:15 
AnswerRe: code about case-based reasoning Pin
...---...14-Oct-05 16:53
...---...14-Oct-05 16:53 
AnswerRe: code about case-based reasoning Pin
Guffa14-Oct-05 22:09
Guffa14-Oct-05 22:09 
QuestionButton disabling while a page is still loading Pin
TheMajorRager14-Oct-05 14:07
TheMajorRager14-Oct-05 14:07 
AnswerRe: Button disabling while a page is still loading Pin
Guffa14-Oct-05 22:21
Guffa14-Oct-05 22:21 
QuestionI can't get to the next TextBox-- Help Pin
Anonymous14-Oct-05 13:54
Anonymous14-Oct-05 13:54 
AnswerRe: I can't get to the next TextBox-- Help Pin
Anonymous14-Oct-05 18:16
Anonymous14-Oct-05 18:16 
AnswerRe: I can't get to the next TextBox-- Help Pin
leppie14-Oct-05 19:17
leppie14-Oct-05 19:17 
AnswerRe: I can't get to the next TextBox-- Help Pin
Guffa14-Oct-05 22:32
Guffa14-Oct-05 22:32 
QuestionC# Pin
Anonymous14-Oct-05 12:06
Anonymous14-Oct-05 12:06 
AnswerRe: C# Pin
Dave Kreskowiak14-Oct-05 12:17
mveDave Kreskowiak14-Oct-05 12:17 
GeneralRe: C# Pin
Anonymous15-Oct-05 11:30
Anonymous15-Oct-05 11:30 
GeneralRe: C# Pin
mav.northwind15-Oct-05 22:41
mav.northwind15-Oct-05 22:41 
GeneralRe: C# Pin
Dave Kreskowiak16-Oct-05 1:59
mveDave Kreskowiak16-Oct-05 1:59 

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.