Archived

This topic is now archived and is closed to further replies.

Loading Images Using Timer

This topic is 5013 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I would like to load images from a string which is located in a database, I have the following code but it continually refreshes the same image on the form, I would like the images to load as defined by the timer (2 secs), and once they get to the end, they start all over again, not end. Private Sub tmrSlide_Timer() Set rs = db.OpenRecordset("tblCars") While Not rs.EOF imgSlide.Picture = LoadPicture(rs!Image1) rs.MoveNext Wend End Sub

Share this post


Link to post
Share on other sites