Click here to Skip to main content
15,910,009 members
Home / Discussions / C#
   

C#

 
GeneralLDAP vs LDAPS port 389 vs port 636 on Active Directory Pin
csecret21-Jan-05 13:17
csecret21-Jan-05 13:17 
Generalplaying video file in c# Pin
XavierSpunky21-Jan-05 12:45
XavierSpunky21-Jan-05 12:45 
GeneralRe: playing video file in c# Pin
Judah Gabriel Himango21-Jan-05 19:50
sponsorJudah Gabriel Himango21-Jan-05 19:50 
Questioncould any one tell me how ? Pin
ImanMahmoud21-Jan-05 12:23
ImanMahmoud21-Jan-05 12:23 
AnswerRe: could any one tell me how ? Pin
Dennis C. Dietrich21-Jan-05 12:56
Dennis C. Dietrich21-Jan-05 12:56 
AnswerRe: could any one tell me how ? Pin
PatrickShane21-Jan-05 16:46
PatrickShane21-Jan-05 16:46 
GeneralRe: could any one tell me how ? Pin
ImanMahmoud22-Jan-05 3:22
ImanMahmoud22-Jan-05 3:22 
GeneralRe: could any one tell me how ? Pin
Rob Graham22-Jan-05 7:50
Rob Graham22-Jan-05 7:50 
ImanMahmoud wrote:
Threading is not a solution because the 4 blocks must be performed orederly, the 1st is performed and saved then the second, and so on.

Threading has nothing at all to do with what order the blocks are processed in. The worker thread can easily preform all the work, in order.

"hangs due to overload" doesn't mean much to anyone (and I would suspect that you are mis-interpreting what is happening).

More of a code sample might help, but in any case, you should move the entire code out of the click event, and just have the click event start the thread that does the work and return. Have the worker thread signal the UI when it is done (or even signal progress as it works.


Anger is the most impotent of passions. It effects nothing it goes about, and hurts the one who is possessed by it more than the one against whom it is directed.
Carl Sandburg

GeneralRe: could any one tell me how ? Pin
PatrickShane22-Jan-05 8:18
PatrickShane22-Jan-05 8:18 
GeneralRe: could any one tell me how ? Pin
DougW4822-Jan-05 9:24
DougW4822-Jan-05 9:24 
GeneralQuestion in windows forms : Pin
ImanMahmoud21-Jan-05 12:03
ImanMahmoud21-Jan-05 12:03 
GeneralRe: Question in windows forms : Pin
Dennis C. Dietrich21-Jan-05 12:38
Dennis C. Dietrich21-Jan-05 12:38 
GeneralRe: Question in windows forms : Pin
Pyro Joe21-Jan-05 12:54
Pyro Joe21-Jan-05 12:54 
Generalexpression results highlighting Pin
Pyro Joe21-Jan-05 11:04
Pyro Joe21-Jan-05 11:04 
Generalnewbi - passing values Pin
Dwayner7921-Jan-05 10:41
Dwayner7921-Jan-05 10:41 
GeneralRe: newbi - passing values Pin
MyThread21-Jan-05 12:48
MyThread21-Jan-05 12:48 
GeneralRe: newbi - passing values Pin
Dwayner7921-Jan-05 13:07
Dwayner7921-Jan-05 13:07 
GeneralRe: newbi - passing values Pin
mav.northwind21-Jan-05 12:56
mav.northwind21-Jan-05 12:56 
GeneralRe: newbi - passing values Pin
Dwayner7921-Jan-05 13:03
Dwayner7921-Jan-05 13:03 
GeneralRe: newbi - passing values Pin
Dwayner7924-Jan-05 1:10
Dwayner7924-Jan-05 1:10 
GeneralRe: OleDbDataReader Pin
Colin Angus Mackay21-Jan-05 10:10
Colin Angus Mackay21-Jan-05 10:10 
Generalwebservice problem Pin
21-Jan-05 9:14
suss21-Jan-05 9:14 
GeneralRe: webservice problem Pin
Bahadir Cambel21-Jan-05 14:47
Bahadir Cambel21-Jan-05 14:47 
GeneralRe: webservice problem Pin
PatrickShane21-Jan-05 16:57
PatrickShane21-Jan-05 16:57 
GeneralRe: webservice problem Pin
WDI21-Jan-05 17:46
WDI21-Jan-05 17:46 

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.