I get the impression that you have replaced the progress bar with an animated GIF?
Assuming I'm way off base there a sec, load the GIF before doing any other process.
Then if it is an animated GIF (the following is still a good idea - even if the GIF isn't an animated one), remember to put a statement such as:
application.doevents()
in loops and other time intensive processes so that Windows get a chance to respond to events and update things etc. You might even find that your GIF gets loaded and displayed then before the other processes have to finish.
Allan