My wife isn't computer literate so I wrote a programme that opens up in the folder where she has all her photo's. It's preferred if she can see her photo thumbnails so she can easily view them then select individual images to view full screen and copy to for posting to Facebook.
It would be better if the CommonDialog stayed open while she is using the programme instead of closing after each selection.
[gray]Experience is something you don't get until just after you need it.[/gray]
Many years ago I wrote a program, a 'picture viewer', where I've displayed JPG files in an array of Image controls in VB 6. I used an Image control because it has a Stretch property which allowed me to resize all files to (pretty much) the same size of display. Kind-of Windows Explorer with the View set to Extra Large icons, or whatever size you want.
You can use this approach, which allows you to select any picture.
You can still use a Common Dialog just to select a folder with your pictures,
---- Andy
"Hmm...they have the internet on computers now"--Homer Simpson
Thanks strongm, that is amazing. The only thing I haven't been able to figure out is how to increase the size of the thumbnails. I tried changing all the parameters in your FolderViewMode but the thumbnails always remained tiny.
Then I need to deal with the aspect ratio of the Image control but I think I can handle that.
[gray]Experience is something you don't get until just after you need it.[/gray]
You also need to play around with IconSize, as the display is a combination of CurrentViewMode and IconSize
e.g,
[tt]WebBrowser1.Document.CurrentViewMode = FVM_ICON
WebBrowser1.Document.IconSize = 256 ' Largest currently supported (to the best of my knowledge)[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.