What is the best way to accomplish this: The main thread (Thread A)
creates two other threads (Thread B and Thread C). Threads B and C do heavy
disk I/O and eventually need to pass in resources they created to Thread A
to then call a method in an external DLL file which requires the thread
that created it to be called correctly so only Thread A can call it.
I'm working on project which sends mails to multiple users using windows
application,But what is happening is,when I use Thread.Join() Method it is
making my Main UI non-responsive...... What I want is.... I want to
run SMTPClienTSetting() method on seperate thread and want my Main UI to
remain responsive for other work..I wnat to run this mail sending acvtivity
at the background...Please
So I am getting this cross thread error and I cannot figure it out.
Here is my base code before I attempted to muck around with it.
Bascally what the code is going is calling a batch file which then
calls a java file. The outputdata is then redirected to the console in
real time. When I just redirect the output just to the C# console, it
works fine. But I want the same info to p
after entering some text in textbox control (C# window application)and
pressing button it will raise two events one is button click and another is
my application defined event. im not able to catch the event. and im
getting this error. how to solve this ... pls help..