Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Save contents

Posted on 2002-03-12
8
Medium Priority
?
169 Views
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.
0
Comment
Question by:marinedestroyer2
[X]
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
8 Comments
 
LVL 4

Expert Comment

by:nestorua
ID: 6862247
HI,
I am afraid I didn't understand you quite well.
Try to explain your problem more clearly.
Sincerely,
Nestorua.
0
 

Author Comment

by:marinedestroyer2
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?
0
 
LVL 4

Expert Comment

by:nestorua
ID: 6864746
HI,
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).
Sincerely,
Nestorua.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:marinedestroyer2
ID: 6868007
yes......you 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 www.experts-exchange.com, 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 .
0
 
LVL 6

Accepted Solution

by:
Stuart_Johnson earned 1000 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.

Stu
0
 

Author Comment

by:marinedestroyer2
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.?
0
 

Expert Comment

by:CleanupPing
ID: 9343278
marinedestroyer2:
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 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 7

Expert Comment

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

marinedestroyer2,
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 ! --

Thanks,

knightmad
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! : )
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

730 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