forum

home / developersection / forums / how to periodically change background image

How to periodically change background image

Anonymous User 3377 05-Oct-2013

I have 2 forms, frmMain and frmPictures. In frmMain I have a timer whose interval is 5000 (5 seconds). frmPictures has 16 pictureboxes with images already loaded in them. In each timer tick I need to change the frmMain background image.. on startup the background image is the same as picturebox1.

On each timer tick, the program should randomly select a PictureBox in frmPictures and change the background image of frmMain to the image of the selected PictureBox.

How do I do this in VB.NET?


Updated on 05-Oct-2013

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By