473,325 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Saving a drawing in a Picture Box

I have an test app where I am drawing some stuff in a picture box. Now I
want to enable the user to be able to save that to a file as an image.

I know how to save an image, but how do I get what is drawen on the picture
box control to become an image? Or, is there some other way?
Nov 21 '05 #1
4 3755
"J. Giudice" <jgiudice-no-junk-@-RCN.com> schrieb:
I have an test app where I am drawing some stuff in a picture box. Now I
want to enable the user to be able to save that to a file as an image.

I know how to save an image, but how do I get what is drawen on the
picture box control to become an image? Or, is there some other way?


Save the Image currently displayed in a PictureBox.
<URL:http://www.dotnetrix.co.uk/misc.html>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2
"J. Giudice" <jgiudice-no-junk-@-RCN.com> schrieb:
I have an test app where I am drawing some stuff in a picture box. Now I
want to enable the user to be able to save that to a file as an image.

I know how to save an image, but how do I get what is drawen on the
picture box control to become an image? Or, is there some other way?


Save the Image currently displayed in a PictureBox.
<URL:http://www.dotnetrix.co.uk/misc.html>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3
Thanks that tip works. I am going to have to learn more about working with
graphics in VB.NET I see. Any good recommend readings would be welcomed.

John
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eq**************@tk2msftngp13.phx.gbl...
"J. Giudice" <jgiudice-no-junk-@-RCN.com> schrieb:
I have an test app where I am drawing some stuff in a picture box. Now I
want to enable the user to be able to save that to a file as an image.

I know how to save an image, but how do I get what is drawen on the
picture box control to become an image? Or, is there some other way?


Save the Image currently displayed in a PictureBox.
<URL:http://www.dotnetrix.co.uk/misc.html>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4
Thanks that tip works. I am going to have to learn more about working with
graphics in VB.NET I see. Any good recommend readings would be welcomed.

John
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eq**************@tk2msftngp13.phx.gbl...
"J. Giudice" <jgiudice-no-junk-@-RCN.com> schrieb:
I have an test app where I am drawing some stuff in a picture box. Now I
want to enable the user to be able to save that to a file as an image.

I know how to save an image, but how do I get what is drawen on the
picture box control to become an image? Or, is there some other way?


Save the Image currently displayed in a PictureBox.
<URL:http://www.dotnetrix.co.uk/misc.html>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Serdar C. | last post by:
hi again.. i wrote a simple "paint" program which u can paint a picture on a picture box and then save it to a bmpof jpg file.. my problem is whenever i try to save the file program throws...
4
by: melanieab | last post by:
Hi, I'm trying to save a bitmap file so I can print it later. I have Image.Save("sImage.bmp",System.Drawing.Imaging.ImageFormat.Bmp); The file sImage.bmp shows up in the bin\debug folder but...
8
by: nobody | last post by:
How do I save a PictureBox bitmap with changes drawn on the bitmap? This doesn't do it: PictureBox1.Image.Save("key30.bmp")
0
by: J. Giudice | last post by:
I have an test app where I am drawing some stuff in a picture box. Now I want to enable the user to be able to save that to a file as an image. I know how to save an image, but how do I get what...
1
by: M Keeton | last post by:
I currently have a picture which is stored in a "System.Drawing.Image" variable and I want to save it as a bitmap file. I have tried 2 different approaches and both give me the following error: ...
2
by: steve | last post by:
Hi All I have a program which takes photos of members using a web cam, then saves them as bitmap files The bitmap is used by a Picturebox to display the photo and clicking on a button enables...
5
by: TheGanjaMan | last post by:
Hi everyone, I'm trying to write up a simple image stamper application that stamps the Exif date information from the jpegs that I've taken from my digital camera and saves the new file with the...
4
by: RobinS | last post by:
I am drawing a rectangle on a picture that has already been drawn on the graphics area (a user control). It works something like this: //in the MouseDown event m_isDragging = true; m_oldX =...
1
Sl1ver
by: Sl1ver | last post by:
i've got this piece of coding. i need help with opening a picture box and then saving it as OLE Object in access DB How would i massage this code tho fit in? try { //save image to byte...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.