Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
JokeRe: Looking for good File Based database for C# client. Pin
Not Active19-Oct-09 10:10
mentorNot Active19-Oct-09 10:10 
AnswerRe: Looking for good File Based database for C# client. Pin
Eddy Vluggen19-Oct-09 10:06
professionalEddy Vluggen19-Oct-09 10:06 
GeneralRe: Looking for good File Based database for C# client. Pin
Luc Pattyn19-Oct-09 10:40
sitebuilderLuc Pattyn19-Oct-09 10:40 
GeneralRe: Looking for good File Based database for C# client. Pin
Eddy Vluggen19-Oct-09 11:15
professionalEddy Vluggen19-Oct-09 11:15 
GeneralRe: Looking for good File Based database for C# client. Pin
Henry Minute19-Oct-09 12:42
Henry Minute19-Oct-09 12:42 
AnswerRe: Looking for good File Based database for C# client. Pin
Kevin Marois20-Oct-09 11:06
professionalKevin Marois20-Oct-09 11:06 
QuestionHow do you add binary data to a memory stream Pin
AndyASPVB19-Oct-09 8:56
AndyASPVB19-Oct-09 8:56 
AnswerRe: How do you add binary data to a memory stream Pin
Luc Pattyn19-Oct-09 9:03
sitebuilderLuc Pattyn19-Oct-09 9:03 
AndyASPVB wrote:
I know this is a simple and silly question to some of you out there


yes, it is. And that is linked to the fact that we occasionally read the documentation.

File.Create returns a FileStream, which offers methods such as Write and WriteByte.
MemoryStream is a class with similar functionality, offering methods such as Write and WriteByte.
And that is no surprise, they both inherit from Stream, which ... offers Write and WriteByte.

Also, lots of classes (e.g. Image) can Save to a stream, and don't care whether it is a FileStream, a MemoryStream, or yet some other kind of stream.

So what could possibly be your problem?

WTF | :WTF:

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages

Local announcement (Antwerp region): Lange Wapper? 59.24% waren verstandig genoeg om NEEN te stemmen; bye bye viaduct.


GeneralRe: How do you add binary data to a memory stream Pin
AndyASPVB19-Oct-09 10:05
AndyASPVB19-Oct-09 10:05 
GeneralRe: How do you add binary data to a memory stream Pin
Luc Pattyn19-Oct-09 10:12
sitebuilderLuc Pattyn19-Oct-09 10:12 
General[OT] belgian lunch Pin
harold aptroot19-Oct-09 11:01
harold aptroot19-Oct-09 11:01 
GeneralRe: [OT] belgian lunch Pin
Luc Pattyn19-Oct-09 11:08
sitebuilderLuc Pattyn19-Oct-09 11:08 
GeneralRe: [OT] belgian lunch Pin
Richard MacCutchan19-Oct-09 12:06
mveRichard MacCutchan19-Oct-09 12:06 
QuestionSearch a DataGrid Pin
mostapha77719-Oct-09 8:18
mostapha77719-Oct-09 8:18 
AnswerRe: Search a DataGrid Pin
Henry Minute19-Oct-09 9:02
Henry Minute19-Oct-09 9:02 
QuestionVB type collections in C# Pin
CheifyW19-Oct-09 7:05
CheifyW19-Oct-09 7:05 
AnswerRe: VB type collections in C# Pin
Not Active19-Oct-09 7:24
mentorNot Active19-Oct-09 7:24 
GeneralRe: VB type collections in C# Pin
CheifyW19-Oct-09 8:33
CheifyW19-Oct-09 8:33 
GeneralRe: VB type collections in C# Pin
Christian Graus19-Oct-09 10:17
protectorChristian Graus19-Oct-09 10:17 
GeneralRe: VB type collections in C# Pin
CheifyW19-Oct-09 22:12
CheifyW19-Oct-09 22:12 
QuestionReading Excel Date - Strange Value Pin
Kevin Marois19-Oct-09 6:49
professionalKevin Marois19-Oct-09 6:49 
AnswerRe: Reading Excel Date - Strange Value Pin
Richard MacCutchan19-Oct-09 8:54
mveRichard MacCutchan19-Oct-09 8:54 
Questionmenu with directx Pin
behzadcp19-Oct-09 6:02
professionalbehzadcp19-Oct-09 6:02 
AnswerRe: menu with directx Pin
Christian Graus19-Oct-09 10:17
protectorChristian Graus19-Oct-09 10:17 
QuestionTest directory is empty Pin
abbd19-Oct-09 6:00
abbd19-Oct-09 6:00 

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.