I remember that I have to use the directoryinfo object to pull the images from the folder but then i'm getting stuck. Could someone help me please?
Creating a Windows Application to view Images
Hi, I have images from a horse show that I was recently a part of and wanted to create a C# Windows Application that will allow me to do this. I wanted to put the images into a list box and but I wanted to pick them up from my images folder on the computer. I'm using VS 2010 and I've done some programming at school but just need a little help if anyone would be so kind?

FroglegPosted Oct 10, 2013, 7:13 PM
using System.IO;
FroglegPosted Oct 12, 2013, 2:16 PM
Note - you will have to proportion the picturebox to suit images
Sunny SharmaPosted Oct 12, 2013, 8:18 AM
Here you go, I've created a sample application for you.
You're free to download, use and study for yourself.
Happy Learning :)
Jade CollintonPosted Oct 12, 2013, 6:25 AM
Thanks for the reply,
When I'm trying this i get the error 'Error1The name 'folderBrowserDialog1' does not exist in the current context' and it doesn't pick up the images from my C:\Pictures\Images folder either. The listbox is just empty. The names that I entered into the listbox are there but when I select one and go to open nothing happens.
Below is what my form looks like but nothing happens when I click on any of the options.
ashleyturnierPosted Oct 11, 2013, 2:10 AM