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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

6173 Aug 2,2003 09:29 PM Jul 11,2004 12:13 AM Windows Forms 1
loading
Tags: FAQ
china
Asked On August 2, 2003 09:29 PM

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.

amit
Replied On July 11, 2004 12:13 AM

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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;