Solved

Storing object information

Posted on 1998-08-27
1
138 Views
Last Modified: 2010-04-04
Is there an easy way to store an objects properties in the registry, or in a file? I'm making an application where the user can select a standard font. How do I save information about the font without making an entry in the registry for each property? I would like to be able to do that to any object.
0
Comment
Question by:red_2
[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
1 Comment
 
LVL 4

Accepted Solution

by:
itamar earned 100 total points
ID: 1337931
Hi red_2,

There is a shareware component just for that:

"... Auto re/store properties in file. TSaver component
     is designed to store some or all properties form a form and all containing
     components in text (standard INI) file. TSaver cares with automatic property
     storage in file when the form is closed and for (ver. 1.0, added 2/3/97, no
     src.) " :
     http://sunsite.icm.edu.pl/delphi/ftp/d20share/saver.zip

A free one:
"... WinSaver component help you to easily save
     windows' property in your own applicatoin (ver. 1.2, added 5/6/96)
          by Kuan-Da Chen":
     http://sunsite.icm.edu.pl/delphi/ftp/d20free/winsav12.zip

 
If you want to make it by yourself, take a look at thi:

"....Example of how to store a Component and its
     properties to a disk file or a Blob field (ver. 1.01, added 6/26/98)
     by Theodoros Bebekis :"
     http://sunsite.icm.edu.pl/delphi/ftp/d30free/saveprop.zip

IHTH,
Itamar
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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…
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 …
Suggested Courses
Course of the Month4 days, 15 hours left to enroll

636 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