Click here to Skip to main content
15,914,642 members
Home / Discussions / C#
   

C#

 
QuestionIs there a way to resize a textbox to fit it's contents?? Pin
OnlyTaz27-Apr-05 17:34
OnlyTaz27-Apr-05 17:34 
AnswerRe: Is there a way to resize a textbox to fit it's contents?? Pin
mav.northwind27-Apr-05 20:15
mav.northwind27-Apr-05 20:15 
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 
Hey!

If I use a Stream (say MemoryStream), and writes data to this stream with a StreamWriter.

Then if I read data from the same stream at the same time, what happens to the read data?

If I have understood this right then no data is removed from the stream even if it has been read? I have to cal flush to remove all the data.

Is this right?

Is a regular stream from TCP (Network) or File stream working this way? If, how does they handle the readdata?

If I flush after I have read, then the writer could have written some new data that I haven’t readied yet.

Best Regards
SnowJim

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 
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 

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.