Click here to Skip to main content
16,004,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: An external file, Pin
David Stone23-Mar-03 12:22
sitebuilderDavid Stone23-Mar-03 12:22 
GeneralRe: An external file, Pin
cemlouis23-Mar-03 12:57
cemlouis23-Mar-03 12:57 
GeneralRe: An external file, Pin
David Stone23-Mar-03 13:02
sitebuilderDavid Stone23-Mar-03 13:02 
GeneralRe: An external file, Pin
cemlouis23-Mar-03 13:59
cemlouis23-Mar-03 13:59 
GeneralRe: An external file, Pin
David Stone24-Mar-03 19:03
sitebuilderDavid Stone24-Mar-03 19:03 
GeneralStream Write Problems Pin
gekoscan22-Mar-03 9:54
gekoscan22-Mar-03 9:54 
GeneralRe: Stream Write Problems Pin
leppie22-Mar-03 18:27
leppie22-Mar-03 18:27 
GeneralRe: Stream Write Problems Pin
Richard Deeming24-Mar-03 7:54
mveRichard Deeming24-Mar-03 7:54 
Write(byte[] buffer, int offset, int count)
Writes a block of bytes to the current stream using data read from buffer.

Read(byte[] buffer, int offset, int count)
Reads a block of bytes from the current stream and writes the data to buffer.


Your code is copying the contents of the buffer - which will be zero - to the stream. It sounds like you want to copy the contents of the stream to the buffer, in which case you need to use the Read method.


"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
GeneralRe: Stream Write Problems Pin
leppie24-Mar-03 8:39
leppie24-Mar-03 8:39 
GeneralC# and the Form Class... Pin
cemlouis22-Mar-03 8:52
cemlouis22-Mar-03 8:52 
GeneralRe: C# and the Form Class... Pin
S O S22-Mar-03 9:53
S O S22-Mar-03 9:53 
GeneralRe: C# and the Form Class... Pin
cemlouis22-Mar-03 11:36
cemlouis22-Mar-03 11:36 
GeneralRe: C# and the Form Class... Pin
Daniel Turini22-Mar-03 12:17
Daniel Turini22-Mar-03 12:17 
GeneralRe: C# and the Form Class... Pin
zamazula22-Mar-03 14:57
zamazula22-Mar-03 14:57 
Generalstyle sheets Pin
slah22-Mar-03 6:39
slah22-Mar-03 6:39 
GeneralRe: style sheets Pin
leppie22-Mar-03 18:30
leppie22-Mar-03 18:30 
GeneralMaking a control Pin
S O S22-Mar-03 2:10
S O S22-Mar-03 2:10 
GeneralRe: Making a control Pin
S O S22-Mar-03 3:21
S O S22-Mar-03 3:21 
GeneralRe: Making a control Pin
leppie22-Mar-03 18:42
leppie22-Mar-03 18:42 
GeneralRe: Making a control Pin
S O S22-Mar-03 21:13
S O S22-Mar-03 21:13 
GeneralRe: Making a control Pin
Paul Riley23-Mar-03 13:19
Paul Riley23-Mar-03 13:19 
GeneralRe: Making a control Pin
S O S23-Mar-03 17:52
S O S23-Mar-03 17:52 
GeneralRe: Making a control Pin
Paul Riley23-Mar-03 23:27
Paul Riley23-Mar-03 23:27 
GeneralRe: Making a control Pin
Roger Alsing23-Mar-03 22:59
Roger Alsing23-Mar-03 22:59 
GeneralRe: Making a control Pin
Paul Riley23-Mar-03 23:24
Paul Riley23-Mar-03 23:24 

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.