Hi everyone,

I have several buttons and a 2 picture boxes. When you press any button, a certain image on the web is showed in the first picture box.

The second picture box is invisible I use to display a loading image.

What I want to do is that when you press a button it will make the second picture box visible and display for about 3 seconds.

I tried this but it wont work

Any help would be great

Code:
PictureBox2.Visible = True
Me.PictureBox1.ImageLocation = "http://i.cnn.net/cnn/.element/img/1.0/weather/accu/samsat.png"
Threading.Thread.Sleep(2000)
PictureBox2.Visible = False
I use vb.net express 2005

Regards,

Alex