We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

how can i read a picture file from the openfileDialog to the Picturebox.

Hi, i have a problem that how can i read a picture file from the openfileDialog to the Picturebox. which class I can use?Streamread or filestream? would you give me some code about the example? Thanks.

1 Reply

AM amit July 11, 2004 04:13 AM UTC

Hello, The database should have a Field of Photo as Ole object, then in VB.net create the Data Form through Wizard, after that try to see the dataset if Photo field is base64binary, by going to Data menu, then write the following code, that I''m attaching through a Zip+Word file...best of luck. imageOpendialog_8639.zip > > Hi, i have a problem that how can i read a picture file from the openfileDialog to the Picturebox. which class I can use?Streamread or filestream? would you give me some code about the example? >Thanks.

Loader.
Live Chat Icon For mobile
Up arrow icon