How can i prevent this in VB.NET

M

Mamatha

Hi

I have an application which displays some data in listview
in VB.NET,those data are displyed by threads and in those
threads one thread go to connect to the net and getback
with webpage source code,this process is done contineously.
While at the time of connecting to the net it was
hangged.Totally the application was hangged while at the
time of running, i can't do any operations even button
click or mouse over also.How can i prevent this?what can i
do for this.This was the major problem i got while my
application was at the end of the stage.If this problem is
not solved i will lost many things.If any one knows please
help me,this is very urget and need for me.Many thanks in
advance.


Mamatha
 
M

Mohamoss

Hi Mamatha
Did you consider using remoting object for that call to the webpage ( the
one that you get the code from ). You can use remoting object on that and
use the built in asynchronous call model in .net remoting instead of having
to worry if your call run on the main thread or on background one .
Check out these links

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconasynchronousremoting.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconremotingexampleasynchronousremoting.asp
http://www.visual-basic-data-mining.net/forum/ShowForum.aspx?ForumID=46

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top