Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27071

For All Images in a folder

$
0
0
Hi

I have a folder on my desktop.

This is what I am trying to do

Code:

dim x as integer = 0
dim y as integer = All images in Folder
For image x to y,
Picturebox1.image = image(x)
x = x+1

interval: 5 seconds

I think I am on the right track? I just can't get the right code to work.

basically, I want to assign all images in the folder to 1 picturebox (with like interval).. So it will turn into something like an automatic photo frame?

Thanks in advance :thumb:

Viewing all articles
Browse latest Browse all 27071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>