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

C#

 
GeneralRe: Binary conversion , Help please!! Pin
Fara761-Aug-07 13:19
Fara761-Aug-07 13:19 
AnswerRe: Binary conversion , Help please!! Pin
Vega021-Aug-07 19:37
Vega021-Aug-07 19:37 
GeneralRe: Binary conversion , Help please!! Pin
Fara762-Aug-07 15:54
Fara762-Aug-07 15:54 
QuestionAspect Oriented Programing in C# Pin
Kevin Kinnett1-Aug-07 8:33
Kevin Kinnett1-Aug-07 8:33 
AnswerRe: Aspect Oriented Programing in C# Pin
Not Active1-Aug-07 9:38
mentorNot Active1-Aug-07 9:38 
QuestionHow to adjust timeouts when loading from web (help!) Pin
doug11111-Aug-07 8:33
doug11111-Aug-07 8:33 
AnswerRe: How to adjust timeouts when loading from web (help!) Pin
Not Active1-Aug-07 9:07
mentorNot Active1-Aug-07 9:07 
GeneralRe: How to adjust timeouts when loading from web (help!) Pin
doug11111-Aug-07 9:27
doug11111-Aug-07 9:27 
Hi Mark
thanks for the tip. WebRequest does have a timeout setting.

I have yet to test this, but is this the right approach?

HttpWebRequest hwReq = HttpWebRequest.Create("http://server/query");<br />
hwReq.Timeout = 120000;   //120 seconds<br />
WebResponse wRes = hwReq.GetResponse();<br />
XmlReader reader = XmlReader( wRes.GetResponseStream() );


Also, do you know whether the WebRequest.Timeout property deals with time to open the http connection, time between request and response, or time for response to complete? The response stream itself does have its own Timeout setting.

thanks again!
GeneralRe: How to adjust timeouts when loading from web (help!) Pin
Not Active1-Aug-07 9:33
mentorNot Active1-Aug-07 9:33 
QuestionSimplify this code Pin
eggie51-Aug-07 8:16
eggie51-Aug-07 8:16 
AnswerRe: Simplify this code Pin
eggie51-Aug-07 8:31
eggie51-Aug-07 8:31 
GeneralRe: Simplify this code Pin
Luc Pattyn1-Aug-07 8:43
sitebuilderLuc Pattyn1-Aug-07 8:43 
AnswerRe: Simplify this code Pin
Not Active1-Aug-07 9:04
mentorNot Active1-Aug-07 9:04 
QuestionListViews and Context Menus.., Pin
Shy Agam1-Aug-07 7:49
Shy Agam1-Aug-07 7:49 
AnswerRe: ListViews and Context Menus.., Pin
Shy Agam1-Aug-07 8:56
Shy Agam1-Aug-07 8:56 
QuestionTableAdapter Configuration failure Pin
lsconyer1-Aug-07 7:14
lsconyer1-Aug-07 7:14 
QuestionDataGrid Pin
ramdil1-Aug-07 5:59
ramdil1-Aug-07 5:59 
AnswerRe: DataGrid Pin
il_masacratore1-Aug-07 6:36
il_masacratore1-Aug-07 6:36 
GeneralRe: DataGrid Pin
ramdil1-Aug-07 6:46
ramdil1-Aug-07 6:46 
QuestionHow can i know witch button send me the event ? Pin
Yanshof1-Aug-07 5:32
Yanshof1-Aug-07 5:32 
AnswerRe: How can i know witch button send me the event ? Pin
Tarakeshwar Reddy1-Aug-07 5:38
professionalTarakeshwar Reddy1-Aug-07 5:38 
GeneralRe: How can i know witch button send me the event ? Pin
Yanshof1-Aug-07 5:41
Yanshof1-Aug-07 5:41 
GeneralRe: How can i know witch button send me the event ? Pin
il_masacratore1-Aug-07 5:49
il_masacratore1-Aug-07 5:49 
GeneralRe: How can i know witch button send me the event ? Pin
Martin#1-Aug-07 5:52
Martin#1-Aug-07 5:52 
GeneralThanks Pin
Yanshof1-Aug-07 6:04
Yanshof1-Aug-07 6:04 

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.