Windows Develop Bookmark and Share   
 index > Windows Forms General > Open Loading Animation during process
 

Open Loading Animation during process

=============================================================
IDE: Visual Studio Team Suite 2005
Technology: Access DB, VB.NET
=============================================================

Hi,

I have a simple for that reads from one database and writes to another. During this read process, I would like to display to the user a loading image. I do not want to use the progress bar.

I have tried a few methods to make this happen, but it seems like the image never appears because the system is too busy reading and writing from the databases.

Can someone please help me find a way to display a loading animation to the user while the system runs the function that reads and writes from the databases?

Thanks,
KJAK
kjak  Thursday, June 21, 2007 7:01 PM
You'll need to use a background thread or BackgroundWorker to do the database work. That way the UI thread will stay responsive and paint the animation as needed.
nobugz  Thursday, June 21, 2007 8:04 PM
You'll need to use a background thread or BackgroundWorker to do the database work. That way the UI thread will stay responsive and paint the animation as needed.
nobugz  Thursday, June 21, 2007 8:04 PM

You can use google to search for other answers

Custom Search

More Threads

• Application.ExecutablePath gives strange info
• How to create MDI feel ASP.NET application?
• evil,(and yes I said evil!) Task Manager doesn't send SC_RESTORE!
• how to link particular words in TextBox
• Two panels, invalidate only one
• Eror:A new expression requires (), [], or {} after type
• What is this control ???
• NotifyIcon disappeared for unknown reason
• How do you initiate textbox validation from code?
• map path in .net win forms