Solved

file with Registrystyle

Posted on 1997-08-24
4
136 Views
Last Modified: 2010-04-06
Hello all,
i want to store data, like in the registry, but in other file. Is there any way to do so ?
Thanks in advance
0
Comment
Question by:PaTrick_Hayder
  • 2
4 Comments
 
LVL 1

Expert Comment

by:arh
Comment Utility
At first look there is no way. But you can create keys and values that you need in Registry, store them in separate file by RegSaveKey function, and delete them. When you will need to
use this data, load it by RegRestoreKey into registry.
0
 
LVL 14

Expert Comment

by:AvonWyss
Comment Utility
It may depend on what exactly you want to behave like in the registry. It is possible without too much pain to create object classes that are able to store/restore themselves in/from a file.
0
 
LVL 3

Accepted Solution

by:
mirek071497 earned 150 total points
Comment Utility
I think so you need file in which you can find key, replace key, etc. Then ini files is good solution for you. In 32bit environment you don't need ini files to store registry values but you can free use them to store you'r own configuration data. You can specify the name of file which can differ in extension from "*.ini" and use as a real ini file.
0
 
LVL 3

Expert Comment

by:mirek071497
Comment Utility
Do you need example or you don't read this ?
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now