Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regex: Very basic question Pin
Member 163675520-Apr-05 23:39
Member 163675520-Apr-05 23:39 
GeneralRe: Regex: Very basic question Pin
leppie19-Apr-05 19:21
leppie19-Apr-05 19:21 
GeneralDatagrid formatting Pin
esjq19-Apr-05 4:55
esjq19-Apr-05 4:55 
GeneralRe: Datagrid formatting Pin
John Fisher19-Apr-05 8:14
John Fisher19-Apr-05 8:14 
GeneralRe: Datagrid formatting Pin
Luis Alonso Ramos19-Apr-05 9:17
Luis Alonso Ramos19-Apr-05 9:17 
GeneralRe: Datagrid formatting Pin
esjq19-Apr-05 19:58
esjq19-Apr-05 19:58 
QuestionHow to select a check box and add to cart in C# Pin
userid_userid19-Apr-05 3:43
userid_userid19-Apr-05 3:43 
Question"Secure Electronic Transaction" in C#? Pin
msdawy19-Apr-05 3:30
msdawy19-Apr-05 3:30 
GeneralComboBox problem Pin
vuthaianh19-Apr-05 2:44
vuthaianh19-Apr-05 2:44 
GeneralRe: ComboBox problem Pin
MoustafaS19-Apr-05 4:25
MoustafaS19-Apr-05 4:25 
GeneralGDI+ doublebuffering isnt stopping flicker :( Pin
JDUK19-Apr-05 2:16
JDUK19-Apr-05 2:16 
GeneralRe: GDI+ doublebuffering isnt stopping flicker :( Pin
John Fisher19-Apr-05 8:09
John Fisher19-Apr-05 8:09 
GeneralRe: GDI+ doublebuffering isnt stopping flicker :( Pin
Stefan Troschuetz19-Apr-05 8:48
Stefan Troschuetz19-Apr-05 8:48 
GeneralRe: GDI+ doublebuffering isnt stopping flicker :( Pin
JDUK19-Apr-05 11:12
JDUK19-Apr-05 11:12 
GeneralDockable / Floating / Collapsable Controls - Where to begin Pin
Tristan Rhodes19-Apr-05 2:04
Tristan Rhodes19-Apr-05 2:04 
GeneralRe: Dockable / Floating / Collapsable Controls - Where to begin Pin
leppie19-Apr-05 5:21
leppie19-Apr-05 5:21 
QuestionIs this how MemoryStreams works? Pin
Snowjim19-Apr-05 0:02
Snowjim19-Apr-05 0:02 
AnswerRe: Is this how MemoryStreams works? Pin
leppie19-Apr-05 5:19
leppie19-Apr-05 5:19 
GeneralRe: Is this how MemoryStreams works? Pin
Snowjim19-Apr-05 5:30
Snowjim19-Apr-05 5:30 
GeneralRe: Is this how MemoryStreams works? Pin
Steven Campbell19-Apr-05 6:42
Steven Campbell19-Apr-05 6:42 
QuestionWriting and Reading on MemoryStream? Pin
Snowjim18-Apr-05 23:57
Snowjim18-Apr-05 23:57 
Hey!

I need to write to a MemoryStream from one part of my program and in another i whant to read this data form the MemoryStream.

This is how i write byte to the MemoryStreams
<br />
        public override void WriteByte(byte value)<br />
        {<br />
            try<br />
            {<br />
                s.WriteByte(value);<br />
<br />
                foreach (UnitStream unit in StreamCollection)<br />
                {<br />
                    if (unit.getUnitStream.CanWrite)<br />
                        unit.getUnitStream.WriteByte(value);<br />
                }<br />
            }<br />
            catch (Exception ex)<br />
            {<br />
                addError("Error in PhoneConnector - MutliStream - Write : " + ex.Message);<br />
            }<br />
        }<br />


When i am pasing data in to this function it writes it to the MemoryStreams(collection), but when i am lookin on the MemoryStreams ther is no data written to them?

I m a doing wrong?

BestRegards
Jimmy
AnswerRe: Writing and Reading on MemoryStream? Pin
leppie19-Apr-05 5:13
leppie19-Apr-05 5:13 
GeneralRe: Writing and Reading on MemoryStream? Pin
Snowjim19-Apr-05 5:28
Snowjim19-Apr-05 5:28 
GeneralRe: Writing and Reading on MemoryStream? Pin
Stefan Troschuetz19-Apr-05 8:43
Stefan Troschuetz19-Apr-05 8:43 
GeneralRe: Writing and Reading on MemoryStream? Pin
Stefan Troschuetz19-Apr-05 8:44
Stefan Troschuetz19-Apr-05 8:44 

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.