Save contents

Posted on 2002-03-12
Last Modified: 2010-04-05
How do you make an application to save the work done by another application. Like for example word, how do you save whatever that has been typed inside through your own program.
Question by:marinedestroyer2
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 6862247
I am afraid I didn't understand you quite well.
Try to explain your problem more clearly.

Author Comment

ID: 6863478
what I meant is :
How do you make a backup program which saves the contents of say internet explorer to a file? Does it use the function SendMessage?

Expert Comment

ID: 6864746
If you don't mind I try to tell how I understand your problem now and you say if I am right.
You want from one application to copy the contents of some sort of Memo control from another one and then all that text
save to the disk.
If so you can use for example the SendKeys technique wrote by
Ken Henderson (if I am not mistaken that is his name).
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 6868007 kinda got it except that what I want is to save ALL the contents of that application. OK let me explain my question again. I want to be able to make a program called a.exe.
A.exe will save the html displayed in ie.exe . Supposing ie.exe is at the url, a.exe will save the html document to a folder. So what I want to do is basically save the contents of the window. Also, I want to be able to use a.exe to work with other programs such as word.exe or excel.exe .

Accepted Solution

Stuart_Johnson earned 250 total points
ID: 6898399
I think what you are asking here is impossible.  Different applications store things differently.  If all you were interested in getting was text (not graphics, sounds, tables etc) then you could write an app which would read all the text from a highlighted control and save it to disk.  However, you would loose all your formatting.

As I said, applications store things differently.  The way Word saves it's text is completely different to say Notepad - Word uses what's called Structured Stored Documents (a big container file) and Notepad uses Text files.


Author Comment

ID: 6906623
ok......but lets take clipboard for instance.....why is it possible for clipboard to "COPY" any type of data whether its a graphic or text etc.?

Expert Comment

ID: 9343278
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Expert Comment

ID: 9470732
Wow, Its been a long time since this comment have been visited!

No comment has been added lately (19 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to Stuart Johnson http:#6898399

-- Please DO NOT accept this comment as an answer ! --


EE Cleanup Volunteer

Remember you (all) can object this recommendation if you disagree, just leave a post here explaining why are you objecting and what should be done instead.
Within 7 days probably this thread will be closed, so, hurry up! : )

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question