Click here to Skip to main content
15,905,614 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I create a slide show for images using c#?
I'm creating my website in visual studio.
Posted
Updated 7-Sep-10 9:09am
v2
Comments
Dalek Dave 7-Sep-10 15:09pm    
Minor Edit for Grammar.

 
Share this answer
 
Does this help?

string[] images = System.IO.Directory.GetFiles("C:\\YourFolder");
foreach (string image in images) {

Bitmap img = new Bitmap(image);
pictureBox1.Image = (Image) MyImage ;

Thread.Sleep(5000);

}
 
Share this answer
 
http://www.youtube.com/watch?v=iqAc26kzPak[^]
go to above link
hope it helps god bless you
 
Share this answer
 
Comments
CHill60 15-Aug-13 12:18pm    
Did you realise the question is nearly 3 years old?
Viritha Reddy 4-Sep-13 4:10am    
Its very helpful to me Faizel. Thank you so much.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900