|
-
Sep 21st, 2006, 11:01 AM
#1
Thread Starter
New Member
Looping through each file in directory
Hi,
I have a number of bmp files in a directory, I want to loop through on the click of a button so they in turn display in the picture.image property. I have the code below which displays the first bmp correctly, how do I loop through the rest on each click of the button?
Me.Picture1.Image = System.Drawing.Image.FromFile("C:\files\" & pageCount & ".bmp")
Many thanks for the help
Steven
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|