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

C#

 
Question[Solved] PropertyGrid with multiple SelectedObjects [modified] Pin
lukeer15-Jun-11 4:31
lukeer15-Jun-11 4:31 
QuestionC# webservice Pin
Member 401661615-Jun-11 4:09
Member 401661615-Jun-11 4:09 
AnswerRe: C# webservice Pin
Not Active15-Jun-11 4:15
mentorNot Active15-Jun-11 4:15 
AnswerRe: C# webservice Pin
BobJanova15-Jun-11 4:26
BobJanova15-Jun-11 4:26 
QuestionDownload with httpwebrequest/response and stream Pin
Muli10015-Jun-11 3:32
Muli10015-Jun-11 3:32 
AnswerRe: Download with httpwebrequest/response and stream Pin
BobJanova15-Jun-11 4:08
BobJanova15-Jun-11 4:08 
GeneralRe: Download with httpwebrequest/response and stream Pin
Muli10015-Jun-11 4:20
Muli10015-Jun-11 4:20 
GeneralRe: Download with httpwebrequest/response and stream Pin
BobJanova15-Jun-11 4:25
BobJanova15-Jun-11 4:25 
The number of bytes you read at a time should not affect the output. You are doing something wrong in your reading code if that is the case (perhaps writing the buffer size, not the actual number of bytes read, at each step). It should be something like
byte[] buf = new byte[buf_size];
int read;
while(0 < read = stream.Read(buf, buf_size)){
 outStream.Write(buf, 0, read);
}

A common mistake is to write buf_size bytes to the output, not read bytes.

2.5MB in 26 seconds is roughly 800kbps, that is quite plausible for a transfer from the public internet.
GeneralRe: Download with httpwebrequest/response and stream Pin
Muli10016-Jun-11 0:40
Muli10016-Jun-11 0:40 
QuestionHow to Create Zoom In/Out for Text Pin
Anubhava Dimri15-Jun-11 2:16
Anubhava Dimri15-Jun-11 2:16 
AnswerRe: How to Create Zoom In/Out for Text Pin
BobJanova15-Jun-11 3:09
BobJanova15-Jun-11 3:09 
AnswerRe: How to Create Zoom In/Out for Text Pin
OriginalGriff15-Jun-11 3:27
mveOriginalGriff15-Jun-11 3:27 
GeneralRe: How to Create Zoom In/Out for Text Pin
BobJanova15-Jun-11 4:05
BobJanova15-Jun-11 4:05 
QuestionIs it possible to change the remote SQL Server Job Start time in C# Pin
Vimalsoft(Pty) Ltd14-Jun-11 23:19
professionalVimalsoft(Pty) Ltd14-Jun-11 23:19 
AnswerRe: Is it possible to change the remote SQL Server Job Start time in C# Pin
Blue_Boy14-Jun-11 23:35
Blue_Boy14-Jun-11 23:35 
GeneralRe: Is it possible to change the remote SQL Server Job Start time in C# Pin
Vimalsoft(Pty) Ltd15-Jun-11 3:24
professionalVimalsoft(Pty) Ltd15-Jun-11 3:24 
GeneralRe: Is it possible to change the remote SQL Server Job Start time in C# Pin
Blue_Boy15-Jun-11 4:01
Blue_Boy15-Jun-11 4:01 
AnswerRe: Is it possible to change the remote SQL Server Job Start time in C# Pin
jschell15-Jun-11 9:01
jschell15-Jun-11 9:01 
QuestionVSTO word addin Pin
adkalavadia14-Jun-11 21:04
adkalavadia14-Jun-11 21:04 
AnswerRe: VSTO word addin Pin
Roger Wright15-Jun-11 21:39
professionalRoger Wright15-Jun-11 21:39 
Questionhow to load and display two images in c# Pin
ankushjain14-Jun-11 20:56
ankushjain14-Jun-11 20:56 
AnswerRe: how to load and display two images in c# Pin
Richard MacCutchan14-Jun-11 22:10
mveRichard MacCutchan14-Jun-11 22:10 
AnswerRe: how to load and display two images in c# Pin
BobJanova15-Jun-11 0:53
BobJanova15-Jun-11 0:53 
QuestionWhat is this line? Pin
AmbiguousName14-Jun-11 20:07
AmbiguousName14-Jun-11 20:07 
AnswerRe: What is this line? Pin
Mycroft Holmes14-Jun-11 20:12
professionalMycroft Holmes14-Jun-11 20:12 

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.