Subject Progress bar during connection
Author jaguarius2003

I've noticed my app hangs for a long time (around 40 seconds) if its
is unable to connect to the database. This would happen for instance
as a result of an incorrect IP address when connecting.

I want to display a little window with a progress bar or my original
intent was a small animation in a seperate window that moves while the
program is trying to connect to the DB.

Since the app hangs while its connecting, the animations wont move.
The only way I could think of was some sort of multi-threaded progress
bar or something in a seperate window, but I am inexperienced with
threading and don't know where to start.

Can anyone offer me an example of how to display an animation or
progress bar while IBO is trying to connect?


Jason S. Gagnon