Click here to Skip to main content
15,912,897 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to connect My Sql Database to compare string from database. Pin
krajah1031-Mar-07 22:26
krajah1031-Mar-07 22:26 
Questionhow to access methods of Window Service Pin
Sanjib Raj31-Mar-07 19:21
Sanjib Raj31-Mar-07 19:21 
AnswerRe: how to access methods of Window Service Pin
Nader Elshehabi31-Mar-07 22:14
Nader Elshehabi31-Mar-07 22:14 
QuestionTables Pin
Shin-Ra31-Mar-07 10:40
Shin-Ra31-Mar-07 10:40 
QuestionSaving from one txt file into another one problem? Pin
Khoramdin31-Mar-07 8:55
Khoramdin31-Mar-07 8:55 
AnswerRe: Saving from one txt file into another one problem? Pin
darkcalin31-Mar-07 10:04
darkcalin31-Mar-07 10:04 
AnswerRe: Saving from one txt file into another one problem? Pin
Wayne Phipps31-Mar-07 10:25
Wayne Phipps31-Mar-07 10:25 
AnswerRe: Saving from one txt file into another one problem? Pin
Nader Elshehabi31-Mar-07 22:07
Nader Elshehabi31-Mar-07 22:07 
QuestionThe Form freeze ive tryed using threads but... nothing Pin
crazy friend31-Mar-07 8:07
crazy friend31-Mar-07 8:07 
AnswerRe: The Form freeze ive tryed using threads but... nothing Pin
Stanciu Vlad31-Mar-07 21:35
Stanciu Vlad31-Mar-07 21:35 
GeneralRe: The Form freeze ive tryed using threads but... nothing Pin
crazy friend1-Apr-07 19:14
crazy friend1-Apr-07 19:14 
GeneralRe: The Form freeze ive tryed using threads but... nothing Pin
HexaDeveloper2-Apr-07 12:30
HexaDeveloper2-Apr-07 12:30 
GeneralRe: The Form freeze ive tryed using threads but... nothing Pin
Stanciu Vlad3-Apr-07 3:33
Stanciu Vlad3-Apr-07 3:33 
Ok, now I think I understood your problem...
So your application freazes when you want to handle data (establish a connection, send/recide data).

The problem can be solved by using threads but noy how you tried...
The server instance (class instance) should process any data in aseparate thread, not the application thread,or yourapplication freazes...
Imagine you start a thread that once a 10 secs changes the text of a label. But if your form is on a thread that is waiting for an opperation to finnish the label won't be changed because the forms thread won't be able to run the text changing code invoked by the "10 secs" thread.

So try to use the your "server" class in a separate thread. And if I am right than the function you call there freazes the client (thread) until a connection is available...

Hope this clarifies your problem....

protected internal static readonly ... and I wish the list could continue ...

GeneralRe: The Form freeze ive tryed using threads but... nothing Pin
crazy friend6-Apr-07 17:21
crazy friend6-Apr-07 17:21 
GeneralRe: The Form freeze ive tryed using threads but... nothing Pin
Stanciu Vlad6-Apr-07 23:22
Stanciu Vlad6-Apr-07 23:22 
Questionsteganography implemented in c sharp Pin
dhananjaysonar31-Mar-07 3:56
dhananjaysonar31-Mar-07 3:56 
AnswerRe: steganography implemented in c sharp Pin
Vasudevan Deepak Kumar31-Mar-07 4:25
Vasudevan Deepak Kumar31-Mar-07 4:25 
GeneralRe: steganography implemented in c sharp Pin
dhananjaysonar31-Mar-07 4:45
dhananjaysonar31-Mar-07 4:45 
GeneralRe: steganography implemented in c sharp Pin
Vega0231-Mar-07 6:29
Vega0231-Mar-07 6:29 
GeneralRe: steganography implemented in c sharp Pin
Colin Angus Mackay31-Mar-07 7:17
Colin Angus Mackay31-Mar-07 7:17 
AnswerRe: steganography implemented in c sharp Pin
Stefan Troschuetz31-Mar-07 5:49
Stefan Troschuetz31-Mar-07 5:49 
Questioninvoking a function with string[] Pin
ceken31-Mar-07 3:30
ceken31-Mar-07 3:30 
AnswerRe: invoking a function with string[] Pin
Leslie Sanford31-Mar-07 6:03
Leslie Sanford31-Mar-07 6:03 
GeneralRe: invoking a function with string[] Pin
ceken1-Apr-07 9:46
ceken1-Apr-07 9:46 
GeneralRe: invoking a function with string[] Pin
Leslie Sanford1-Apr-07 11:51
Leslie Sanford1-Apr-07 11:51 

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.