Click here to Skip to main content
15,910,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is there a way to resize a textbox to fit it's contents?? Pin
OnlyTaz28-Apr-05 10:50
OnlyTaz28-Apr-05 10:50 
QuestionWhy can't I change Row during Insert?? Pin
Besinci27-Apr-05 14:09
Besinci27-Apr-05 14:09 
AnswerRe: Why can't I change Row during Insert?? Pin
Marc Clifton28-Apr-05 6:09
mvaMarc Clifton28-Apr-05 6:09 
GeneralRe: Why can't I change Row during Insert?? Pin
Besinci28-Apr-05 11:53
Besinci28-Apr-05 11:53 
GeneralDeployment Project: Getting Property Value into DWORD Registry Entry Pin
mwhouser27-Apr-05 13:45
mwhouser27-Apr-05 13:45 
Questionstream? how does it work? Pin
Snowjim27-Apr-05 12:26
Snowjim27-Apr-05 12:26 
AnswerRe: stream? how does it work? Pin
Dave Kreskowiak27-Apr-05 16:28
mveDave Kreskowiak27-Apr-05 16:28 
GeneralRe: stream? how does it work? Pin
Snowjim27-Apr-05 22:44
Snowjim27-Apr-05 22:44 
Thanks!

The requirement on ower application is that we have to hand out a stream to the rest of the program.

This means that we have to write to that string and at the same time the other part of the program will have to be able to read from the stream using streamreader.

If we writes 1024 bytes to the stream every time(vary fast) then the other part of the program will probably not manage to keep up with the writer. There will probley be a small buffert all the time.

there by we cant clear the stream in any way.

Its strange that a stream really works like this? It should discard every byte it is reading.
I have seen that there is something cald peak (streamreader), that looks at the next byte with out discarding, this most mean that it will discard when reading from this stream?

What kind of stream is this? Can it really discard when reading?

I have tried to make my own stream, by using an Array List (with FIFO), this works, but the performance is to bad. I am placing one byte at one element, and when it’s readed on position 0 i remove it.

Will i have to do my own stream? And what buffert should I use? If I use a fixed byte array the buffert may run out before the reader have readed there data.

any proposition on my problem?

Best Regards
SnowJim

GeneralRe: stream? how does it work? Pin
turbochimp28-Apr-05 3:35
turbochimp28-Apr-05 3:35 
GeneralRe: stream? how does it work? Pin
Snowjim28-Apr-05 6:47
Snowjim28-Apr-05 6:47 
GeneralRe: stream? how does it work? Pin
turbochimp28-Apr-05 7:22
turbochimp28-Apr-05 7:22 
GeneralRe: stream? how does it work? Pin
Snowjim28-Apr-05 7:31
Snowjim28-Apr-05 7:31 
GeneralRe: stream? how does it work? Pin
turbochimp28-Apr-05 7:46
turbochimp28-Apr-05 7:46 
GeneralAPI commands Pin
c00lguy27-Apr-05 12:13
c00lguy27-Apr-05 12:13 
GeneralRe: API commands Pin
Dave Kreskowiak27-Apr-05 16:22
mveDave Kreskowiak27-Apr-05 16:22 
GeneralRe: API commands Pin
c00lguy28-Apr-05 1:12
c00lguy28-Apr-05 1:12 
QuestionWinForm problem please help? Pin
OnlyTaz27-Apr-05 10:40
OnlyTaz27-Apr-05 10:40 
AnswerRe: WinForm problem please help? Pin
Besinci27-Apr-05 14:43
Besinci27-Apr-05 14:43 
GeneralRe: WinForm problem please help? Pin
OnlyTaz27-Apr-05 14:56
OnlyTaz27-Apr-05 14:56 
GeneralRe: WinForm problem please help? Pin
Dave Kreskowiak27-Apr-05 16:19
mveDave Kreskowiak27-Apr-05 16:19 
Generalwinforms app to control browser Pin
fortyonejb27-Apr-05 10:09
fortyonejb27-Apr-05 10:09 
GeneralRe: winforms app to control browser Pin
MoustafaS27-Apr-05 10:18
MoustafaS27-Apr-05 10:18 
GeneralRe: winforms app to control browser Pin
fortyonejb27-Apr-05 15:50
fortyonejb27-Apr-05 15:50 
GeneralRe: winforms app to control browser Pin
Dave Kreskowiak27-Apr-05 16:17
mveDave Kreskowiak27-Apr-05 16:17 
GeneralRe: winforms app to control browser Pin
fortyonejb27-Apr-05 18:03
fortyonejb27-Apr-05 18:03 

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.