In my opinion you should avoid 'wait' routines. Just set your timer to load the sequence of images. This way, your activity's events can still get triggered. If, you truly need to hold the 'wait' subs, you should place a doEvents inside your loop. Still, this should be avoided.