|
-
Oct 23rd, 2012, 09:26 PM
#1
Thread Starter
New Member
Is it possible to load pictures without an openfiledialog?
Ok so i know that i can load a picture into a picturebox without an openfiledialog. What i want to do is this. Keeping it simple, I have 2 forms. on the first form, i have a picturebox, some textboxes and buttons bla bla bla. the user loads a picture (from their computer) into the picturebox, types some info into the textboxes, and clicks the button to save all text and the picture to a folder that I specify (via savefiledialog). that all works perfectly fine.
now they open the second form. the second form has a picturebox and 4 buttons. I kinda set it up like a tv lol. the first button turns on the "tv" (picturebox) on, and the second and third buttons i want to scroll through pictures without opening the dialog everytime.
Is this possible? Im trying to make it like a windows photo gallery kind of thing. with "previous" and "next" buttons where whatever picture from the folder that is displayed, when u click next it will go to the next picture in that folder. and when they get to the last picture, it will start over with the first one.
for the folder that i specify im using the following code
Code:
application.startupPath & "\logs\"
Can anyone please help me? thanks in advance!
Brian
Tags for this Thread
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
|