Click here to Skip to main content
15,905,686 members
Home / Discussions / C#
   

C#

 
AnswerRe: send and recieve data with modem Pin
mehdi rahimzade9-May-09 9:46
mehdi rahimzade9-May-09 9:46 
GeneralRe: send and recieve data with modem Pin
Christian Graus9-May-09 11:12
protectorChristian Graus9-May-09 11:12 
AnswerRe: send and recieve data with modem Pin
OriginalGriff9-May-09 22:52
mveOriginalGriff9-May-09 22:52 
Question[Message Deleted] Pin
hkjghkj19-May-09 4:02
hkjghkj19-May-09 4:02 
AnswerRe: ToolTip Pin
Henry Minute9-May-09 7:07
Henry Minute9-May-09 7:07 
Question[Message Deleted] Pin
jas0n239-May-09 3:13
jas0n239-May-09 3:13 
AnswerRe: "Jay's TextPad is not a valid Win32 Application..." But Jay thinks it is... PinPopular
PIEBALDconsult9-May-09 4:24
mvePIEBALDconsult9-May-09 4:24 
AnswerRe: [Message Deleted] Pin
Mohammad Dayyan9-May-09 5:39
Mohammad Dayyan9-May-09 5:39 
AnswerRe: [Message Deleted] Pin
jas0n239-May-09 7:26
jas0n239-May-09 7:26 
GeneralRe: [Message Deleted] Pin
PIEBALDconsult9-May-09 7:54
mvePIEBALDconsult9-May-09 7:54 
GeneralRe: [Message Deleted] Pin
jas0n239-May-09 8:09
jas0n239-May-09 8:09 
GeneralRe: [Message Deleted] Pin
PIEBALDconsult9-May-09 8:43
mvePIEBALDconsult9-May-09 8:43 
GeneralRe: [Message Deleted] Pin
jas0n239-May-09 8:51
jas0n239-May-09 8:51 
GeneralRe: [Message Deleted] Pin
Mycroft Holmes9-May-09 14:35
professionalMycroft Holmes9-May-09 14:35 
GeneralRe: [Message Deleted] Pin
jas0n2310-May-09 8:23
jas0n2310-May-09 8:23 
QuestionMultiple selection of listbox Pin
yesu prakash9-May-09 2:36
yesu prakash9-May-09 2:36 
AnswerRe: Multiple selection of listbox Pin
Luc Pattyn9-May-09 2:48
sitebuilderLuc Pattyn9-May-09 2:48 
Questionproblem to display data in DataGridView in MultiThread app (with backgroundWorker) Pin
hdv2129-May-09 0:47
hdv2129-May-09 0:47 
AnswerRe: problem to display data in DataGridView in MultiThread app (with backgroundWorker) Pin
S. Senthil Kumar9-May-09 1:02
S. Senthil Kumar9-May-09 1:02 
GeneralRe: problem to display data in DataGridView in MultiThread app (with backgroundWorker) Pin
hdv2129-May-09 10:21
hdv2129-May-09 10:21 
QuestionClient/Server TCPClient Pin
AlexDuta8-May-09 23:00
AlexDuta8-May-09 23:00 
AnswerRe: Client/Server TCPClient Pin
terradtc8-May-09 23:07
terradtc8-May-09 23:07 
You will want to start running your TCPClient on a different Thread so it doesn't lock up the GUI thread while waiting for a timeout or connection refused.

So do the following

ThreadPool.QueueUserWorkItem(new WaitCallback(<function that="" starts="" the="" tcpclient="" connection="">));

Keep in mind that the Drawing of items can only be done on the thread they were created on (usually the main thread) so setting text and that sort of thing should be done by invoking the functions using the Invoke function
GeneralRe: Client/Server TCPClient Pin
terradtc8-May-09 23:19
terradtc8-May-09 23:19 
GeneralRe: Client/Server TCPClient Pin
AlexDuta8-May-09 23:26
AlexDuta8-May-09 23:26 
AnswerRe: Client/Server TCPClient Pin
AhsanS9-May-09 0:00
AhsanS9-May-09 0:00 

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.