Refresh a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I used a form tp populate data. When the data is still processing, I leave
the form and go to some external application, and then back the my
application again, the form becomes blank. The form is refreshed/coming back
until the data process is completed. I want to know if there is a way to
refresh the form (avoid blank form)?

Thanks in advance
 
I saw there is another thread talking about this issue. The solution is using
Application.DoEvents()
 
Li,
I saw there is another thread talking about this issue. The solution is
using
Application.DoEvents()
A solution, not always the most apriciated one.

:-)

Cor
 
Li Pang said:
I used a form tp populate data. When the data is still processing, I leave
the form and go to some external application, and then back the my
application again, the form becomes blank. The form is refreshed/coming
back
until the data process is completed. I want to know if there is a way to
refresh the form (avoid blank form)?

You may want to perform processing in a separate thread:

Multithreading:

<URL:http://msdn.microsoft.com/library/en-us/dnforms/html/winforms06112002.asp>
<URL:http://msdn.microsoft.com/library/en-us/dnforms/html/winforms08162002.asp>
<URL:http://msdn.microsoft.com/library/en-us/dnforms/html/winforms01232003.asp>

<URL:http://www.devx.com/dotnet/Article/11358/>

<URL:http://msdn.microsoft.com/library/e...SystemWindowsFormsControlClassInvokeTopic.asp>

Multithreading in Visual Basic .NET (Visual Basic Language Concepts)
<URL:http://msdn.microsoft.com/library/en-us/vbcn7/html/vaconthreadinginvisualbasic.asp>

Sample:

<URL:http://dotnet.mvps.org/dotnet/samples/filesystem/downloads/FileSystemEnumerator.zip>
 

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

Similar Threads


Back
Top