Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to select an image in a form?

Status
Not open for further replies.

marcello62

Technical User
Jun 19, 2006
42
NL
Hi there,

I want to add a reference to the file-path of a picture to a database table. In the user interface, users should be able to select the picture in a picturebox (I guess this is the right control). I'm looking for a way to get to the file-system in some sort of control, and use this control to store the path to the picture and select the picture in the picturebox. Does anyone know how to do this?

Any help will be greatly appreciated. Thanks
 
Have a look at the Application.FileDialog object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Hi PHV,

I tried, and after some initial errors and corrections, I got the FileDialog control running. Now it works fine. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top