4
Contributors
3
Replies
9
Views
7 Years
Discussion Span
Last Post by kdcorp87
1

Just to clarify, you say you want to load "images" (plural) into a picturebox (singular). What were you hoping to achieve? If you wanted to load more than one image you can use a foreach loop:

foreach (string file in Directory.GetFiles(@"C:\Pictures", "*.jpeg", SearchOption.AllDirectories))
                {

                }

But you would need some way to cycle the display or add additional pictureboxes

Edited by Geekitygeek: n/a

0

i used it for a slideshow from a folder

Edited by Nick Evan: Fixed formatting

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.