Click here to Skip to main content
15,879,613 members
Home / Discussions / C#
   

C#

 
AnswerRe: Application Level Key Shortcut Pin
Richard Andrew x6429-Jul-12 12:19
professionalRichard Andrew x6429-Jul-12 12:19 
GeneralRe: Application Level Key Shortcut Pin
Trak4Net29-Jul-12 20:30
Trak4Net29-Jul-12 20:30 
AnswerRe: Application Level Key Shortcut Pin
BobJanova29-Jul-12 23:23
BobJanova29-Jul-12 23:23 
AnswerRe: Application Level Key Shortcut Pin
Andrei Straut30-Jul-12 0:59
Andrei Straut30-Jul-12 0:59 
AnswerRe: Application Level Key Shortcut Pin
Shameel30-Jul-12 2:47
professionalShameel30-Jul-12 2:47 
QuestionDifference Between BeginGetResponse and GetResponse Pin
baranils29-Jul-12 9:48
baranils29-Jul-12 9:48 
AnswerRe: Difference Between BeginGetResponse and GetResponse Pin
Richard Andrew x6429-Jul-12 11:17
professionalRichard Andrew x6429-Jul-12 11:17 
AnswerRe: Difference Between BeginGetResponse and GetResponse Pin
Trak4Net29-Jul-12 12:01
Trak4Net29-Jul-12 12:01 
BeginGetResponse will execute the method in the AsyncCallBack asynchronously. If you do like in the MSDN example then it will wait for that asynchronous operation to finish
this is the code that will cause it to wait and also implements a timeout method so if the asynchronous operation takes to long it will end the asynchronous operation.

C#
// this line implements the timeout, if there is a timeout, the callback fires and the request becomes aborted
      ThreadPool.RegisterWaitForSingleObject (result.AsyncWaitHandle, new WaitOrTimerCallback(TimeoutCallback), myHttpWebRequest, DefaultTimeout, true);

      // The response came in the allowed time. The work processing will happen in the
      // callback function.
      allDone.WaitOne();

GeneralRe: Difference Between BeginGetResponse and GetResponse Pin
baranils29-Jul-12 19:02
baranils29-Jul-12 19:02 
GeneralRe: Difference Between BeginGetResponse and GetResponse Pin
Trak4Net29-Jul-12 20:28
Trak4Net29-Jul-12 20:28 
GeneralRe: Difference Between BeginGetResponse and GetResponse Pin
baranils29-Jul-12 20:38
baranils29-Jul-12 20:38 
GeneralRe: Difference Between BeginGetResponse and GetResponse Pin
Trak4Net29-Jul-12 21:11
Trak4Net29-Jul-12 21:11 
QuestionDynamically Insert single record into MS access from SQL server Pin
Member 928738129-Jul-12 6:39
Member 928738129-Jul-12 6:39 
AnswerRe: Dynamically Insert single record into MS access from SQL server Pin
Trak4Net29-Jul-12 12:09
Trak4Net29-Jul-12 12:09 
AnswerRe: Dynamically Insert single record into MS access from SQL server Pin
BobJanova29-Jul-12 23:31
BobJanova29-Jul-12 23:31 
GeneralRe: Dynamically Insert single record into MS access from SQL server Pin
PIEBALDconsult30-Jul-12 3:47
mvePIEBALDconsult30-Jul-12 3:47 
Questiondata transfer Pin
rizaaltinok29-Jul-12 0:20
rizaaltinok29-Jul-12 0:20 
GeneralRe: data transfer Pin
Abhinav S29-Jul-12 0:27
Abhinav S29-Jul-12 0:27 
GeneralRe: data transfer Pin
BillWoodruff29-Jul-12 19:04
professionalBillWoodruff29-Jul-12 19:04 
AnswerRe: data transfer Pin
Dave Kreskowiak29-Jul-12 3:40
mveDave Kreskowiak29-Jul-12 3:40 
GeneralRe: data transfer Pin
BillWoodruff29-Jul-12 18:19
professionalBillWoodruff29-Jul-12 18:19 
GeneralRe: data transfer Pin
Abhinav S29-Jul-12 22:39
Abhinav S29-Jul-12 22:39 
GeneralRe: data transfer Pin
Dave Kreskowiak30-Jul-12 2:16
mveDave Kreskowiak30-Jul-12 2:16 
Questionbmp & gif convert to led dot matrix display with c# Pin
hosseinzpp28-Jul-12 21:27
hosseinzpp28-Jul-12 21:27 
AnswerRe: bmp & gif convert to led dot matrix display with c# Pin
OriginalGriff28-Jul-12 21:58
mveOriginalGriff28-Jul-12 21:58 

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.