473,395 Members | 2,423 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,395 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 3759
"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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.