473,396 Members | 1,764 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,396 software developers and data experts.

how to save all my application's work.

7
hi.....

can anybody tell me that how can i save my all application's work. mean that how can i save the images,circles,rectangle,lines or etl together..

if somebody knows it then plz explain me with some code...

i konw that image can be save via one of the Bitmap's method
i.e:
imageObj.Save(fileName);

but i want to save not only images , whole it(e.g: circles,rectangles,lines which a user is drawn on it) not a just an image.



plz dont send the source of anyother site because i m new commer .

if some body can explain this then do in it plz.

thx.........

--------------------------------------------------------------------------------
maifs
Sep 24 '08 #1
2 1173
maifs
7
hi.....

can anybody tell me that how can i save my all application's work. mean that how can i save the images,circles,rectangle,lines or etl together..

if somebody knows it then plz explain me with some code...

i konw that image can be save via one of the Bitmap's method
i.e:
imageObj.Save(fileName);

but i want to save not only images , whole it(e.g: circles,rectangles,lines which a user is drawn on it) not a just an image.



plz dont send the source of anyother site because i m new commer .

if some body can explain this then do in it plz.

thx.........

--------------------------------------------------------------------------------
maifs
Sep 24 '08 #2
cloud255
427 Expert 256MB
I take it you are looking for something which will store all the vectors independantly and allow you to edit the image at a later time?

I suggest that you create yourself a filetype, any extension which is not in use. You can then associate this file type with your application. You could simply dump a whole bunch of text data in the files e.g.

[square] NameOfInstance
[location] x,y co-ordiantes from which to start drawing
[length] length in pixels of the lines

Try something along those lines, your application can then read and re-draw the images by instantiating objects and assigning those values to the objects.

For more protection, you can encrypt the file before saving it to the local storage media.
Sep 24 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: dave | last post by:
Hi there I'm trying to force save as dialogue using this code in download.asp..but when it runs it prompts for download.asp to save or open. code snippet (from aspfaq.com) ...
2
by: icedgar | last post by:
am using the following script in the BeforeUpdate area of a main form. Private Sub Form_BeforeUpdate(Cancel As Integer) Dim strMsg As String strMsg = "Do you wish to save your changes?" If...
5
by: kevin | last post by:
Hi, Any help with this would be really appreciated! I'm trying to download a file from a remote server. The access permissions is okay but the problem I'm facing is that the file is getting...
2
by: zheng | last post by:
ÇçÌì I have a word document and it has a picture object, I want save the picture object as other single picture file by C# program. I have a idea, by clipboard, copy the picture to clipboard, and...
0
by: johnb41 | last post by:
The heart of my application is a database (MS Jet, SQL, etc.). The user needs a connection to this database before he/she can do anything w/ the program. The user will also work with supplimental...
8
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve. I am trying to take the contents of a textarea box...
3
by: =?Utf-8?B?YXNkZg==?= | last post by:
Hello. I am making a web application with c# and am using this code: Response.ContentType = "application/x-excel"; Response.AddHeader("Content-Disposition", "attachment;filename=" +...
1
by: Shannon Richards | last post by:
Hello All: I have implemented a custom configuration section in my app.config file as follows: <configSections> <section name="AdminUIConfig" type="TestMgr.UIConfigSection,TestMgr"/>...
3
by: evenlater | last post by:
I have an Access application on a terminal server. Sometimes my users need to export reports to pdf, rtf or xls files and save them to their own client device hard drives. They can do that right...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.