Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
QuestionHow to change text's font and style in an enrichtextbox by code? Pin
bc11182-Jan-06 7:34
bc11182-Jan-06 7:34 
AnswerRe: How to change text's font and style in an enrichtextbox by code? Pin
Ravi Bhavnani2-Jan-06 9:39
professionalRavi Bhavnani2-Jan-06 9:39 
GeneralRe: How to change text's font and style in an enrichtextbox by code? Pin
bc11182-Jan-06 12:24
bc11182-Jan-06 12:24 
QuestionEmbedding Java into C# Pin
2hdass2-Jan-06 7:31
2hdass2-Jan-06 7:31 
AnswerRe: Embedding Java into C# Pin
Judah Gabriel Himango2-Jan-06 12:52
sponsorJudah Gabriel Himango2-Jan-06 12:52 
QuestionStreamReader timeout? Pin
Ravi Bhavnani2-Jan-06 7:23
professionalRavi Bhavnani2-Jan-06 7:23 
AnswerRe: StreamReader timeout? Pin
Dave Kreskowiak2-Jan-06 12:08
mveDave Kreskowiak2-Jan-06 12:08 
GeneralRe: StreamReader timeout? Pin
Ravi Bhavnani2-Jan-06 12:22
professionalRavi Bhavnani2-Jan-06 12:22 
Dave Kreskowiak wrote:
Why would yo want a timeout for something that returns the contents of the Stream immediately?

If only it (always) did. Smile | :) I was hoping to not have to spin off a worker thread to do the read.

<code>// (Error checking omitted from code fragment for brevity)</code>
HttpWebRequest req =
 (HttpWebRequest) WebRequest.Create ("http://ravib.com");
HttpWebResponse resp = (HttpWebResponse) req.GetResponse();
Stream stream = resp.GetResponseStream();
StreamReader streamReader = new StreamReader (stream);
string strContent =
  streamReader.ReadToEnd(); <code>// << can (potentially) take forever</code>
/ravi

My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com

GeneralRe: StreamReader timeout? Pin
Dave Kreskowiak2-Jan-06 14:59
mveDave Kreskowiak2-Jan-06 14:59 
GeneralRe: StreamReader timeout? Pin
Ravi Bhavnani2-Jan-06 15:05
professionalRavi Bhavnani2-Jan-06 15:05 
GeneralRe: StreamReader timeout? Pin
Dave Kreskowiak2-Jan-06 16:52
mveDave Kreskowiak2-Jan-06 16:52 
GeneralRe: StreamReader timeout? Pin
Ravi Bhavnani2-Jan-06 16:56
professionalRavi Bhavnani2-Jan-06 16:56 
QuestionExecute shell command in c# Pin
jbu202-Jan-06 7:01
jbu202-Jan-06 7:01 
AnswerRe: Execute shell command in c# Pin
Ravi Bhavnani2-Jan-06 9:40
professionalRavi Bhavnani2-Jan-06 9:40 
QuestionCustomizing A Setup Project Pin
TofuBug242-Jan-06 6:15
TofuBug242-Jan-06 6:15 
AnswerRe: Customizing A Setup Project Pin
S. Akif Kamal2-Jan-06 19:46
S. Akif Kamal2-Jan-06 19:46 
GeneralRe: Customizing A Setup Project Pin
TofuBug244-Jan-06 21:30
TofuBug244-Jan-06 21:30 
QuestionProblems with crystal report in vs2005? Pin
Joseph Robert2-Jan-06 5:45
Joseph Robert2-Jan-06 5:45 
QuestionFinding the changed subkey under a particular registrykey Pin
rakesh_nits2-Jan-06 4:04
rakesh_nits2-Jan-06 4:04 
QuestionSecurity Exception Pin
zt.Prog2-Jan-06 2:09
zt.Prog2-Jan-06 2:09 
AnswerRe: Security Exception Pin
Colin Angus Mackay2-Jan-06 4:14
Colin Angus Mackay2-Jan-06 4:14 
QuestionEmail Notification Pin
MalikRizwan2-Jan-06 1:10
MalikRizwan2-Jan-06 1:10 
AnswerRe: Email Notification Pin
PrakashBhaskar2-Jan-06 1:23
PrakashBhaskar2-Jan-06 1:23 
GeneralRe: Email Notification Pin
MalikRizwan2-Jan-06 1:36
MalikRizwan2-Jan-06 1:36 
GeneralRe: Email Notification Pin
PrakashBhaskar2-Jan-06 1:41
PrakashBhaskar2-Jan-06 1:41 

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.