1 Replies - 5689 Views - Last Post: 13 January 2010 - 02:49 AM Rate Topic: -----

#1 prashanth0084  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 05-January 10

Load images in list box

Posted 13 January 2010 - 02:32 AM

Hi
can any one guide me how to load images in list box and then display as a slide show in picture box at diffrent intervals of time using C#
Is This A Good Question/Topic? 0
  • +

Replies To: Load images in list box

#2 FlashM  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 382
  • View blog
  • Posts: 1,195
  • Joined: 03-December 09

Re: Load images in list box

Posted 13 January 2010 - 02:49 AM

I believe you will have to show some effort first. Anyway, here's the hint. You will have to use System.IO namespace, instantiate a DirectoryInfo class which will enable you to get all files from specified directory. Then you will iterate through all the files in your array and fill the file names in your listbox.

For slide show effect, you can use a Timer control which will change the image every n seconds.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1