Re: Threading on Functions returning values
- From: "ivar" <ivar@xxxxxxxxxxx>
- Date: Thu, 19 Jul 2007 09:26:40 +0300
Hi,
You should call your method through Control.Invoke() , that creates call on UI thread.
"A.K.Seerajdeen" <siraj@xxxxxxxxxxxxxxxxxx> wrote in message news:uG$tkhcyHHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
Hi All,
I am a developer in .Net 2005, I am facing a problem in Multithreading concept. The problem is, I have a function which returns a value of string type and also carries some parameters(Arguments) and I am calling that function in a button click. When ever I call the fuction the GUI gets hanged Up. So, I want to apply threading concept on it since that function parses number of webpages, it takes lot of time and the GUI gets struck up mean while, it has become a very big problem.
I hope, have understood the problem, Please anyone help me solving this problem, any sample code or any explaination regarding this would me a great help for me.
Thanks In advance to all, I hope this forum would be a great help for me, since I am new to this forum.
Thanking You,
With Regards,
A.K.Seerajdeen,
Jr. Software Programmer,
Nanna Computers (Vizag),
Tel: +919885444639,
siraj@xxxxxxxxxxxxxxxxxxx
(This electronic message contains information from Nanna Computers, which may be privileged or confidential. The information is for the intended individual(s) or entity named above. If you are not the intended recipient be aware that any copying, disclosing, distribution or use of the above email and/or its attachments is prohibited and is illegal. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. This e-mail is not un-solicited e-mail under the relevant regulations.)
.
- Follow-Ups:
- Re: Threading on Functions returning values
- From: Benny Skjold Tordrup
- Re: Threading on Functions returning values
- References:
- Threading on Functions returning values
- From: A.K.Seerajdeen
- Threading on Functions returning values
- Prev by Date: Threading on Functions returning values
- Next by Date: Re: Threading on Functions returning values
- Previous by thread: Threading on Functions returning values
- Next by thread: Re: Threading on Functions returning values
- Index(es):