Click here to Skip to main content
15,919,028 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRetrieve multiselect rows in TDBGrid Pin
Nitin19816-Apr-09 5:45
Nitin19816-Apr-09 5:45 
AnswerRe: Retrieve multiselect rows in TDBGrid Pin
Henry Minute6-Apr-09 6:40
Henry Minute6-Apr-09 6:40 
GeneralRe: Retrieve multiselect rows in TDBGrid Pin
Nitin19816-Apr-09 22:41
Nitin19816-Apr-09 22:41 
QuestionBackgroundworker.ReportProgress not displaying all of stream Pin
krazyazkid6-Apr-09 4:33
krazyazkid6-Apr-09 4:33 
AnswerRe: Backgroundworker.ReportProgress not displaying all of stream Pin
Luc Pattyn6-Apr-09 4:39
sitebuilderLuc Pattyn6-Apr-09 4:39 
krazyazkid wrote:
outputReader.ReadToEnd()
Do While Not outputReader.EndOfStream
Loop
BackgroundWorker3.ReportProgress(1, outputReader.ReadLine)


This is nonsense. ReadToEnd() reads everything, and returns it as a string, which you ignore.
Then you loop for the end, which you already reached. Then you read a line, which isn't there.

I suggest:
1. you read the documentation on StreamReader class
2. clean up your code
3. when problems exist, publish your code using the "code block" button (i.e. PRE tags) so it is formatted and readable.

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


GeneralRe: Backgroundworker.ReportProgress not displaying all of stream Pin
krazyazkid6-Apr-09 4:49
krazyazkid6-Apr-09 4:49 
GeneralRe: Backgroundworker.ReportProgress not displaying all of stream Pin
Luc Pattyn6-Apr-09 4:57
sitebuilderLuc Pattyn6-Apr-09 4:57 
QuestionPaging in Datagrids Pin
parkash_C6-Apr-09 4:21
parkash_C6-Apr-09 4:21 
AnswerRe: Paging in Datagrids Pin
Henry Minute6-Apr-09 6:45
Henry Minute6-Apr-09 6:45 
GeneralRe: Paging in Datagrids Pin
parkash_C6-Apr-09 18:17
parkash_C6-Apr-09 18:17 
GeneralRe: Paging in Datagrids Pin
Vimalsoft(Pty) Ltd6-Apr-09 21:01
professionalVimalsoft(Pty) Ltd6-Apr-09 21:01 
GeneralRe: Paging in Datagrids Pin
parkash_C6-Apr-09 21:13
parkash_C6-Apr-09 21:13 
GeneralRe: Paging in Datagrids Pin
Henry Minute7-Apr-09 0:56
Henry Minute7-Apr-09 0:56 
GeneralRe: Paging in Datagrids Pin
parkash_C7-Apr-09 1:40
parkash_C7-Apr-09 1:40 
GeneralRe: Paging in Datagrids Pin
Henry Minute7-Apr-09 1:48
Henry Minute7-Apr-09 1:48 
Questionvb and flash Pin
ahlamissa6-Apr-09 2:38
ahlamissa6-Apr-09 2:38 
AnswerRe: vb and flash Pin
Dave Kreskowiak6-Apr-09 10:45
mveDave Kreskowiak6-Apr-09 10:45 
AnswerRe: vb and flash Pin
Christian Graus6-Apr-09 16:58
protectorChristian Graus6-Apr-09 16:58 
AnswerRe: vb and flash Pin
Anubhava Dimri6-Apr-09 21:50
Anubhava Dimri6-Apr-09 21:50 
Questionurgent: vb6 code to calculate 16 bit CRC-CCITT Pin
singende6-Apr-09 2:15
singende6-Apr-09 2:15 
AnswerRe: urgent: vb6 code to calculate 16 bit CRC-CCITT Pin
Jay Royall6-Apr-09 2:24
Jay Royall6-Apr-09 2:24 
AnswerRe: urgent: vb6 code to calculate 16 bit CRC-CCITT Pin
CPallini6-Apr-09 3:32
mveCPallini6-Apr-09 3:32 
GeneralRe: urgent: vb6 code to calculate 16 bit CRC-CCITT Pin
singende6-Apr-09 4:08
singende6-Apr-09 4:08 
GeneralRe: urgent: vb6 code to calculate 16 bit CRC-CCITT Pin
0x3c06-Apr-09 4:11
0x3c06-Apr-09 4:11 
GeneralRe: urgent: vb6 code to calculate 16 bit CRC-CCITT Pin
CPallini6-Apr-09 5:01
mveCPallini6-Apr-09 5:01 

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.