Click here to Skip to main content
15,899,314 members
Home / Discussions / C#
   

C#

 
GeneralXML verus Traditional Files Pin
felopater8-Apr-05 5:28
felopater8-Apr-05 5:28 
GeneralRe: XML verus Traditional Files Pin
Judah Gabriel Himango8-Apr-05 7:08
sponsorJudah Gabriel Himango8-Apr-05 7:08 
GeneralRe: XML verus Traditional Files Pin
Steven Campbell8-Apr-05 10:10
Steven Campbell8-Apr-05 10:10 
GeneralRe: XML verus Traditional Files Pin
DavidNohejl8-Apr-05 10:56
DavidNohejl8-Apr-05 10:56 
QuestionHow to use non .NET DLLs in .NET environment? Pin
Khang Nguyen8-Apr-05 5:26
Khang Nguyen8-Apr-05 5:26 
AnswerRe: How to use non .NET DLLs in .NET environment? Pin
DavidNohejl8-Apr-05 5:42
DavidNohejl8-Apr-05 5:42 
GeneralRe: How to use non .NET DLLs in .NET environment? Pin
Khang Nguyen8-Apr-05 6:29
Khang Nguyen8-Apr-05 6:29 
QuestionHow do i associate file extensions to app's in the registry? Pin
Anthony Mushrow8-Apr-05 4:30
professionalAnthony Mushrow8-Apr-05 4:30 
AnswerRe: How do i associate file extensions to app's in the registry? Pin
Dave Kreskowiak8-Apr-05 5:15
mveDave Kreskowiak8-Apr-05 5:15 
GeneralRe: How do i associate file extensions to app's in the registry? Pin
felopater8-Apr-05 5:51
felopater8-Apr-05 5:51 
GeneralRe: How do i associate file extensions to app's in the registry? Pin
Dave Kreskowiak8-Apr-05 9:02
mveDave Kreskowiak8-Apr-05 9:02 
QuestionHow do I read data from an Excel Spreadsheet with C#?? Please Help! Pin
AfzalHassen8-Apr-05 3:29
AfzalHassen8-Apr-05 3:29 
AnswerRe: How do I read data from an Excel Spreadsheet with C#?? Please Help! Pin
Ritesh12348-Apr-05 3:49
Ritesh12348-Apr-05 3:49 
GeneralRe: How do I read data from an Excel Spreadsheet with C#?? Please Help! Pin
Colin Angus Mackay8-Apr-05 4:10
Colin Angus Mackay8-Apr-05 4:10 
GeneralDesktop Sharing / Application Sharing Pin
Dittto218-Apr-05 1:42
Dittto218-Apr-05 1:42 
GeneralRe: Desktop Sharing / Application Sharing Pin
Dave Kreskowiak8-Apr-05 2:17
mveDave Kreskowiak8-Apr-05 2:17 
GeneralGrid To Grid And then Backto DB Pin
| Muhammad Waqas Butt |8-Apr-05 1:41
professional| Muhammad Waqas Butt |8-Apr-05 1:41 
GeneralCrystal reports Pin
V.8-Apr-05 1:02
professionalV.8-Apr-05 1:02 
QuestionHow to determine whether an assembly implements a certain interface? Pin
Sebastian Schneider8-Apr-05 0:54
Sebastian Schneider8-Apr-05 0:54 
AnswerRe: How to determine whether an assembly implements a certain interface? Pin
mav.northwind8-Apr-05 1:29
mav.northwind8-Apr-05 1:29 
QuestionStreams? Pin
Snowjim8-Apr-05 0:52
Snowjim8-Apr-05 0:52 
AnswerRe: Streams? Pin
mav.northwind8-Apr-05 1:23
mav.northwind8-Apr-05 1:23 
A MemoryStream is basically an array of bytes that's growing dynamically when data is written into the MemoryStream.
Like every Stream, MemoryStream also has a Position property that is marking the position where the next read or write will occur.

So if you want to read from the beginning, you'll have to set memoryStream.Position to 0.
Just reading from the MemoryStream doesn't remove the bytes read, so if you want this behaviour you should look for a FIFO stream implementation.

I think Ianier Munoz has such a class in his
A low-level audio player in C#[^].

Regards,
mav
GeneralRe: Streams? Pin
Snowjim8-Apr-05 1:43
Snowjim8-Apr-05 1:43 
GeneralRe: Streams? Pin
Snowjim8-Apr-05 1:55
Snowjim8-Apr-05 1:55 
Generalpicture in word document Pin
Anonymous7-Apr-05 22:53
Anonymous7-Apr-05 22:53 

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.