Connecting Tech Pros Worldwide Help | Site Map

Save and Retrive Image

Newbie
 
Join Date: Oct 2009
Posts: 1
#1: 4 Weeks Ago
Hi, Guys, am trying this program where I used openDialog to allow the user to select an image. This image is load into a pictureBox called MemberPics. After that, I want to save the selected image with its file name and retrieve(load into another pictureBox called display) it in another form. In this case, i want to use the image filename for the retrieval so that different user can use different images. Please help me.
Familiar Sight
 
Join Date: Jul 2009
Location: Calgary, Alberta, Canada
Posts: 211
#2: 4 Weeks Ago

re: Save and Retrive Image


Have a look at the Bitmap class to open and save files. Here's the MSDN page...

http://msdn.microsoft.com/en-us/libr...8VS.71%29.aspx

I hope that helps!
tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,745
#3: 4 Weeks Ago

re: Save and Retrive Image


Quote:

Originally Posted by SAINTJAB View Post

Hi, Guys, am trying this program where I used openDialog to allow the user to select an image. This image is load into a pictureBox called MemberPics.

After that, I want to

  • save the selected image
  • with its file name and retrieve(
  • load into another pictureBox called display) it
  • in another form.
In this case, i want to use the image filename for the retrieval so that different user can use different images. Please help me.

Which part of this are you having trouble with?
How to save?
How to get the original filename?
How to put the image into a different picture box?
How to access another form?
Reply

Tags
save