Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
AnswerRe: FileStream runtime issues Pin
Luc Pattyn15-Aug-09 14:38
sitebuilderLuc Pattyn15-Aug-09 14:38 
GeneralRe: FileStream runtime issues [modified] Pin
Mikey_H15-Aug-09 14:59
Mikey_H15-Aug-09 14:59 
AnswerRe: FileStream runtime issues Pin
riced15-Aug-09 23:09
riced15-Aug-09 23:09 
GeneralRe: FileStream runtime issues Pin
Mikey_H15-Aug-09 23:22
Mikey_H15-Aug-09 23:22 
AnswerRe: FileStream runtime issues (Updated) Pin
riced16-Aug-09 0:18
riced16-Aug-09 0:18 
GeneralRe: FileStream runtime issues (Updated) Pin
Mikey_H16-Aug-09 1:44
Mikey_H16-Aug-09 1:44 
GeneralRe: FileStream runtime issues (Updated) Pin
riced16-Aug-09 2:32
riced16-Aug-09 2:32 
GeneralRe: FileStream runtime issues (Updated) Pin
Mikey_H16-Aug-09 12:48
Mikey_H16-Aug-09 12:48 
Thanks for the help David, I appreciate it.

I have tried this stuff already and I made an edit to original post, saying it is reading to the buffer and the issue is elsewhere (size of byte[] = size of string = size shown in file properties) (I should have made a reply pointing to the updated info also).

I don't know anything about the encoding though, I tried utf8 as it was in the msdn sample, and it worked for the first section of the file, so I assumed this wasnt the issue.

Also worth noting that after this code the string is put through a StringReader where I run regular expressions on it and convert the data from the hand info into a 'PokerHand' object, if I run the program without doing the 'save thing' each file returns 1 'PokerHand' object, if I do the 'save thing' it returns as many that are in the file.
QuestionReading letters from an Image in C# Pin
Sumit_Ghosh15-Aug-09 12:41
Sumit_Ghosh15-Aug-09 12:41 
AnswerRe: Reading letters from an Image in C# Pin
Henry Minute15-Aug-09 13:24
Henry Minute15-Aug-09 13:24 
QuestionWeb Browser(C# + other .NET technologies) Pin
abhifanatic15-Aug-09 10:12
abhifanatic15-Aug-09 10:12 
AnswerRe: Web Browser(C# + other .NET technologies) Pin
Saksida Bojan15-Aug-09 10:29
Saksida Bojan15-Aug-09 10:29 
QuestionC# IP Scanner Pin
nhqlbaislwfiikqraqnm15-Aug-09 10:06
nhqlbaislwfiikqraqnm15-Aug-09 10:06 
AnswerRe: C# IP Scanner Pin
Saksida Bojan15-Aug-09 10:31
Saksida Bojan15-Aug-09 10:31 
GeneralRe: C# IP Scanner Pin
nhqlbaislwfiikqraqnm15-Aug-09 10:52
nhqlbaislwfiikqraqnm15-Aug-09 10:52 
GeneralRe: C# IP Scanner Pin
Saksida Bojan15-Aug-09 18:57
Saksida Bojan15-Aug-09 18:57 
GeneralRe: C# IP Scanner Pin
nhqlbaislwfiikqraqnm15-Aug-09 21:55
nhqlbaislwfiikqraqnm15-Aug-09 21:55 
GeneralRe: C# IP Scanner Pin
Saksida Bojan15-Aug-09 22:02
Saksida Bojan15-Aug-09 22:02 
AnswerRe: C# IP Scanner Pin
mrcooll15-Aug-09 22:43
mrcooll15-Aug-09 22:43 
GeneralRe: C# IP Scanner Pin
nhqlbaislwfiikqraqnm15-Aug-09 22:50
nhqlbaislwfiikqraqnm15-Aug-09 22:50 
QuestionDownload Free E books Pin
naveensky15-Aug-09 7:03
naveensky15-Aug-09 7:03 
AnswerRe: Download Free E books Pin
Hristo-Bojilov15-Aug-09 7:07
Hristo-Bojilov15-Aug-09 7:07 
AnswerRe: Download Free E books Pin
0x3c015-Aug-09 7:36
0x3c015-Aug-09 7:36 
QuestionNeed to learn ROUND decimal digits Pin
M Riaz Bashir15-Aug-09 4:46
M Riaz Bashir15-Aug-09 4:46 
AnswerRe: Need to learn ROUND decimal digits Pin
Not Active15-Aug-09 4:54
mentorNot Active15-Aug-09 4:54 

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.