Click here to Skip to main content
15,920,704 members
Home / Discussions / C#
   

C#

 
GeneralRe: Application.Exit(); not working in the form constructor, why? Pin
EricT.25-Nov-10 7:27
EricT.25-Nov-10 7:27 
QuestionSearch for statements in CS files. Pin
Alex Iagovsky24-Oct-06 14:34
Alex Iagovsky24-Oct-06 14:34 
AnswerRe: Search for statements in CS files. Pin
Nader Elshehabi24-Oct-06 15:29
Nader Elshehabi24-Oct-06 15:29 
GeneralRe: Search for statements in CS files. Pin
Alex Iagovsky25-Oct-06 3:19
Alex Iagovsky25-Oct-06 3:19 
QuestionForms Pin
m.m._200724-Oct-06 14:07
m.m._200724-Oct-06 14:07 
AnswerRe: Forms [modified] Pin
Nader Elshehabi24-Oct-06 15:40
Nader Elshehabi24-Oct-06 15:40 
AnswerRe: Forms Pin
phenix-burn24-Oct-06 15:42
phenix-burn24-Oct-06 15:42 
QuestionSocket class Poll method and POP3 client Pin
Martin Lachowicz24-Oct-06 13:00
Martin Lachowicz24-Oct-06 13:00 
How exactly does this method work?
It seems to me that it's supposed to check the Socket object state for the number of specified miliseconds and if during this period it will determine that the Socket is in state given in the method, it will return true or false if it's not and if the time elapses and the state won't match the definition given in the method it will return false. Is this correct? Does poll method block the socket?
Next questions concerns the POP3 service. I'm trying to connect to the service and authenticate user. My program always return exception when it is trying to connect to pop3 server for the first time after boot up. I used the polling to determine if the socket state is "read" (after connecting to service) with 20 second timeout. If it is then the the Receive method of the socket is called if it's not the exception is returned. I always get the exception when I try to connect after boot up.
What may be the reason of this? How would You get around it?
Thanks in advance.

p.s.: The socket is in blocking mode.
QuestionCounting months between dates? Pin
rbaut24-Oct-06 12:08
rbaut24-Oct-06 12:08 
AnswerRe: Counting months between dates? Pin
Guffa24-Oct-06 12:15
Guffa24-Oct-06 12:15 
QuestionWhy doesn't the left mouse button work... [modified] Pin
new_phoenix24-Oct-06 11:19
new_phoenix24-Oct-06 11:19 
QuestionCollectionEditor and Generics Pin
Jamie Nordmeyer24-Oct-06 10:43
Jamie Nordmeyer24-Oct-06 10:43 
QuestionNeed to access value from app.config file Pin
Shilpa124-Oct-06 10:21
Shilpa124-Oct-06 10:21 
AnswerRe: Need to access value from app.config file Pin
Craig G Fraser24-Oct-06 20:39
Craig G Fraser24-Oct-06 20:39 
Questionrandom numbers Pin
Jad Jadallah24-Oct-06 10:18
Jad Jadallah24-Oct-06 10:18 
AnswerRe: random numbers Pin
Jim Conigliaro24-Oct-06 10:53
Jim Conigliaro24-Oct-06 10:53 
GeneralRe: random numbers Pin
Jad Jadallah24-Oct-06 11:13
Jad Jadallah24-Oct-06 11:13 
AnswerRe: random numbers Pin
Guffa24-Oct-06 12:10
Guffa24-Oct-06 12:10 
GeneralRe: random numbers Pin
Jad Jadallah24-Oct-06 12:24
Jad Jadallah24-Oct-06 12:24 
AnswerRe: random numbers Pin
Guffa24-Oct-06 13:11
Guffa24-Oct-06 13:11 
AnswerRe: random numbers Pin
Guffa25-Oct-06 7:44
Guffa25-Oct-06 7:44 
GeneralRe: random numbers Pin
Jad Jadallah25-Oct-06 8:44
Jad Jadallah25-Oct-06 8:44 
Questiondelete files from a directory Pin
keroed_edmond24-Oct-06 10:18
keroed_edmond24-Oct-06 10:18 
AnswerRe: delete files from a directory Pin
Jim Conigliaro24-Oct-06 11:03
Jim Conigliaro24-Oct-06 11:03 
QuestionTransactions between layers Pin
Luis C. Lopez24-Oct-06 9:32
Luis C. Lopez24-Oct-06 9:32 

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.