How can i operate controls in VB.NET

M

Mamatha

Hi

I have one application in VB.NET.
When we click on particular button,it connects to the net
and getback with the source code of a particular web
page.While connecting to net it blocks all other
controls,i can't operate any control.How can i stop that
one.How can i prevent that one from hanging while connect
to the net.Please tell me the solution,because my
application is in the ending stage.
If u tell me the solution great thanks in advance.


Mamatha
 
K

Ken Tucker [MVP]

Hi,

Your program is locking "locking up' while you connect to the net
and get the source code. Use a thread or aynchronous delegate to do it in
the background so your program wont appear locked up.


http://msdn.microsoft.com/library/d...html/cpovrAsynchronousProgrammingOverview.asp

http://msdn.microsoft.com/library/d...html/frlrfsystemthreadingthreadclasstopic.asp

Ken
-------------------
Hi

I have one application in VB.NET.
When we click on particular button,it connects to the net
and getback with the source code of a particular web
page.While connecting to net it blocks all other
controls,i can't operate any control.How can i stop that
one.How can i prevent that one from hanging while connect
to the net.Please tell me the solution,because my
application is in the ending stage.
If u tell me the solution great thanks in advance.


Mamatha
 

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