Click here to Skip to main content
15,896,500 members
Home / Discussions / C#
   

C#

 
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 
QuestionDataGridView Pin
saeidfarahi8-May-09 21:41
saeidfarahi8-May-09 21:41 
AnswerRe: DataGridView Pin
fly9048-May-09 22:05
fly9048-May-09 22:05 
AnswerRe: DataGridView Pin
AhsanS9-May-09 0:04
AhsanS9-May-09 0:04 
Questionusing WebBrawser to open a URL from a c# application Pin
shabya8-May-09 21:31
shabya8-May-09 21:31 
AnswerRe: using WebBrowser to open a URL from a c# application Pin
fly9048-May-09 21:55
fly9048-May-09 21:55 
AnswerRe: using WebBrawser to open a URL from a c# application Pin
AhsanS9-May-09 0:06
AhsanS9-May-09 0:06 
AnswerRe: using WebBrawser to open a URL from a c# application Pin
Guffa9-May-09 0:56
Guffa9-May-09 0:56 
GeneralRe: using WebBrawser to open a URL from a c# application Pin
shabya9-May-09 4:40
shabya9-May-09 4:40 
GeneralRe: using WebBrawser to open a URL from a c# application Pin
Guffa14-May-09 10:51
Guffa14-May-09 10:51 
GeneralRe: using WebBrawser to open a URL from a c# application Pin
shabya15-May-09 3:00
shabya15-May-09 3:00 
QuestionNew Record in New Form problem. Pin
hdv2128-May-09 20:00
hdv2128-May-09 20:00 
AnswerRe: New Record in New Form problem. Pin
Ken Mazaika9-May-09 16:21
Ken Mazaika9-May-09 16:21 
QuestionHow to convet the text into your Handwriting using table PC in .Net Pin
googlejumbo8-May-09 19:18
googlejumbo8-May-09 19:18 
AnswerRe: How to convet the text into your Handwriting using table PC in .Net Pin
terradtc9-May-09 1:54
terradtc9-May-09 1:54 

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.