Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating four dimensional control Pin
OriginalGriff15-Jul-09 5:26
mveOriginalGriff15-Jul-09 5:26 
GeneralRe: Creating four dimensional control Pin
molesworth15-Jul-09 6:13
molesworth15-Jul-09 6:13 
GeneralRe: Creating four dimensional control Pin
OriginalGriff15-Jul-09 8:13
mveOriginalGriff15-Jul-09 8:13 
QuestionHow to get the control property 'Handle' and 'Name' Pin
Durchleuchter15-Jul-09 4:12
Durchleuchter15-Jul-09 4:12 
AnswerRe: How to get the control property 'Handle' and 'Name' Pin
Dave Kreskowiak15-Jul-09 5:22
mveDave Kreskowiak15-Jul-09 5:22 
QuestionConvert HTML to RTF Pin
Sebastian T Xavier15-Jul-09 3:40
Sebastian T Xavier15-Jul-09 3:40 
AnswerRe: Convert HTML to RTF Pin
Christian Graus15-Jul-09 3:42
protectorChristian Graus15-Jul-09 3:42 
AnswerRe: Convert HTML to RTF Pin
Alan Balkany15-Jul-09 3:51
Alan Balkany15-Jul-09 3:51 
GeneralRe: Convert HTML to RTF Pin
Nagy Vilmos15-Jul-09 3:54
professionalNagy Vilmos15-Jul-09 3:54 
GeneralRe: Convert HTML to RTF Pin
Sebastian T Xavier15-Jul-09 4:02
Sebastian T Xavier15-Jul-09 4:02 
GeneralRe: Convert HTML to RTF Pin
Nagy Vilmos15-Jul-09 4:11
professionalNagy Vilmos15-Jul-09 4:11 
GeneralRe: Convert HTML to RTF Pin
Sebastian T Xavier15-Jul-09 4:23
Sebastian T Xavier15-Jul-09 4:23 
GeneralRe: Convert HTML to RTF Pin
Luc Pattyn15-Jul-09 4:11
sitebuilderLuc Pattyn15-Jul-09 4:11 
GeneralRe: Convert HTML to RTF Pin
Dave Kreskowiak15-Jul-09 5:20
mveDave Kreskowiak15-Jul-09 5:20 
GeneralRe: Convert HTML to RTF Pin
Luc Pattyn15-Jul-09 5:35
sitebuilderLuc Pattyn15-Jul-09 5:35 
GeneralRe: Convert HTML to RTF Pin
Dave Kreskowiak15-Jul-09 7:29
mveDave Kreskowiak15-Jul-09 7:29 
GeneralRe: Convert HTML to RTF Pin
Luc Pattyn15-Jul-09 7:36
sitebuilderLuc Pattyn15-Jul-09 7:36 
AnswerRe: Convert HTML to RTF Pin
V.15-Jul-09 4:09
professionalV.15-Jul-09 4:09 
QuestionStarting to read a file from an origin with Binaryreader Pin
SimpleData15-Jul-09 3:33
SimpleData15-Jul-09 3:33 
AnswerRe: Starting to read a file from an origin with Binaryreader Pin
Luc Pattyn15-Jul-09 3:41
sitebuilderLuc Pattyn15-Jul-09 3:41 
AnswerRe: Starting to read a file from an origin with Binaryreader Pin
Ennis Ray Lynch, Jr.15-Jul-09 3:45
Ennis Ray Lynch, Jr.15-Jul-09 3:45 
GeneralRe: Starting to read a file from an origin with Binaryreader Pin
SimpleData15-Jul-09 4:05
SimpleData15-Jul-09 4:05 
GeneralRe: Starting to read a file from an origin with Binaryreader Pin
Ennis Ray Lynch, Jr.15-Jul-09 4:11
Ennis Ray Lynch, Jr.15-Jul-09 4:11 
AnswerRe: Starting to read a file from an origin with Binaryreader Pin
OriginalGriff15-Jul-09 4:04
mveOriginalGriff15-Jul-09 4:04 
I think you have been trying to do this for a couple of days, yes?

I also think you have the wrong idea what a BinaryReader is and what BinaryReader.Read(byte[], int, int) actually does.

A BinaryReader is not intended to read a stream of binary data from a file. It is intended to read primitive types (such as int32, int64 etc) from a file. What you appear to be trying to do needs a straight FileStream or similar.

The BinaryReader.Read(byte[] buffer, int start, int length) reads length bytes into the buffer, starting to fill at buffer[start] - not reads bytes into buffer starting to fill from stream[start].

Search MSDN for BinaryReader; it is all there in English. Or Microsofts' version of English, at least.

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

GeneralRe: Starting to read a file from an origin with Binaryreader Pin
SimpleData15-Jul-09 4:13
SimpleData15-Jul-09 4:13 

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.