Click here to Skip to main content
15,906,574 members
Home / Discussions / C#
   

C#

 
Questionprogressbar further Issue Pin
MumbleB10-Feb-09 21:28
MumbleB10-Feb-09 21:28 
AnswerRe: progressbar further Issue Pin
ABitSmart10-Feb-09 21:57
ABitSmart10-Feb-09 21:57 
GeneralRe: progressbar further Issue Pin
MumbleB11-Feb-09 0:36
MumbleB11-Feb-09 0:36 
GeneralRe: progressbar further Issue Pin
MumbleB11-Feb-09 0:49
MumbleB11-Feb-09 0:49 
GeneralRe: progressbar further Issue Pin
ABitSmart11-Feb-09 1:18
ABitSmart11-Feb-09 1:18 
AnswerRe: progressbar further Issue Pin
Luc Pattyn11-Feb-09 0:36
sitebuilderLuc Pattyn11-Feb-09 0:36 
GeneralRe: progressbar further Issue Pin
MumbleB11-Feb-09 0:52
MumbleB11-Feb-09 0:52 
AnswerRe: progressbar further Issue Pin
Luc Pattyn11-Feb-09 1:02
sitebuilderLuc Pattyn11-Feb-09 1:02 
Yes I saw your earlier post with the 237 problem, which basically was caused by your code acting
as if each line contained 1000 characters.

Anyway, when you need file size in bytes, ask FileInfo, you don't need the content;
when you need file size in lines, loop a ReadLine and count them, you don't need to hold all the
lines at once (just to get array.Length), it is a waste of cycles and bytes, and an unnecessary
limitation to your app.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


modified on Friday, June 10, 2011 11:41 PM

GeneralRe: progressbar further Issue Pin
MumbleB11-Feb-09 1:06
MumbleB11-Feb-09 1:06 
AnswerRe: progressbar further Issue Pin
Luc Pattyn11-Feb-09 1:42
sitebuilderLuc Pattyn11-Feb-09 1:42 
QuestionHow to call public void with javascript!? Pin
ashkan_ertefa10-Feb-09 21:06
ashkan_ertefa10-Feb-09 21:06 
QuestionIMAGE RETREIVAL PROBLEM FROM ACCESS DATABASE Pin
aashish.saalvi10-Feb-09 20:48
aashish.saalvi10-Feb-09 20:48 
AnswerRe: IMAGE RETREIVAL PROBLEM FROM ACCESS DATABASE Pin
SeMartens10-Feb-09 22:20
SeMartens10-Feb-09 22:20 
GeneralSMS Project Pin
oviyaa10-Feb-09 20:48
oviyaa10-Feb-09 20:48 
GeneralRe: SMS Project Pin
Smithers-Jones10-Feb-09 22:23
Smithers-Jones10-Feb-09 22:23 
GeneralRe: SMS Project Pin
DrawWindow10-Feb-09 23:01
DrawWindow10-Feb-09 23:01 
GeneralRe: SMS Project Pin
Rutvik Dave11-Feb-09 6:48
professionalRutvik Dave11-Feb-09 6:48 
QuestionREgex Pin
lawrenceinba10-Feb-09 20:08
lawrenceinba10-Feb-09 20:08 
AnswerRe: REgex Pin
Guffa10-Feb-09 20:20
Guffa10-Feb-09 20:20 
GeneralRe: REgex Pin
lawrenceinba10-Feb-09 21:50
lawrenceinba10-Feb-09 21:50 
Questionurl rewriting Pin
icanmakeiteasy10-Feb-09 19:46
icanmakeiteasy10-Feb-09 19:46 
AnswerRe: url rewriting Pin
Guffa10-Feb-09 19:49
Guffa10-Feb-09 19:49 
GeneralRe: url rewriting Pin
icanmakeiteasy10-Feb-09 19:59
icanmakeiteasy10-Feb-09 19:59 
AnswerRe: url rewriting Pin
Guffa10-Feb-09 20:12
Guffa10-Feb-09 20:12 
GeneralRe: url rewriting Pin
icanmakeiteasy10-Feb-09 20:29
icanmakeiteasy10-Feb-09 20:29 

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.