I have several pictures in "my.resources" that I want to cycle through. But I haven't been able to figure out a way without typing all of the picture name manually in my code. Does anybody have any suggestions
Thanks!
I have several pictures in "my.resources" that I want to cycle through. But I haven't been able to figure out a way without typing all of the picture name manually in my code. Does anybody have any suggestions
Thanks!
Cylce through pictures
nscripta
Colvic
I would recommend that you consider using the imagelist control. It's Wonderful.
You can load all of the pictures either statically or dynamically and the you can go through them by index or imagename.
I'm doing this from memory so there may be some errors:
For i As Short = 0 To ImageList1.Images.Count - 1 NextBe sure to watch to correctly set the color bit count and pay attention to the transparency scheme. I hope you enjoy.