how to Browse image


Hi,
i need to use visual studio C++ to create a browse button to browse a photo from my desktop into my programe..
Can anybody help me out with the code?
Thanks in advance
closed account (S6k9GNh0)
You have to at least attempt your own project before you hand it off to other people. We try not to do work for others if it might possibly hurt their development.
easiest Steps:

1. put a button on your window/dialog box
2. there are some standard dialog boxes available in win32 like open file dialog, open folder dialog, print dialog, color dialog. you should use open file dialog to select the file.
3. now put a image control in your application, as soon the file is selected, show the image on the image control.

with visual studio 8/9 and .net framework 3.5 or 4, you may have better controls which i dont know. I used to work in VS 6.0. :D
Last edited on
Topic archived. No new replies allowed.