Skip to main content
gamedev.net
🔒 Locked

Loading Images Using Timer

Started by Martyn 0 replies 300+ views
Original Post
Martyn
Martyn
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
Martyn
Martyn
Bump

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.