Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.07.18;
Скачать: CL | DM;

Вниз

Загрузка/Сохранение веток реестра   Найти похожие ветки 

 
KPV-10k ©   (2002-04-25 22:24) [0]

Мастера! Помогите решить проблему: нужно копировать кусок реестра в файл, а потом при необходимости, если этот кусок удалят восстановить из этого файла(незная какие ключи в нём).


 
Cobalt ©   (2002-04-26 19:57) [1]

TRegistry.SaveKey
Opens the specified key with the security access value
KEY_ALL_ACCESS and saves the specified key and all of its subkeys and values to a hive file.
Будьте острожны в Вин2К - возможно, придётся переписывать для получения доступа KEY_READ
function SaveKey(const Key, FileName: String): Boolean;

Description

Call SaveKey to open a key with a security access value of KEY_ALL_ACCESS, and save the key and its subkeys and data values to a hive file. A hive is a discrete collection of keys, subkeys, and values that is rooted at the top of the registry hierarchy.

Key is the key to save. FileName is the file into which to save the key information. It must be the name of a new file that does not already exist. On FAT file systems FileName cannot include an extension.

Files created by SaveKey are passed as parameters to the RestoreKey, ReplaceKey and LoadKey functions.

If SaveKey is successful it returns True and closes the key.



Страницы: 1 вся ветка

Текущий архив: 2002.07.18;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.009 c
3-58014
AlexA
2002-06-18 14:16
2002.07.18
Редко изменяемые данные


8-58229
Alexandr_
2002-03-12 09:25
2002.07.18
Как повернуть оси на канвасе на определенный угол.....


1-58156
kserg@ukr.net
2002-07-05 16:15
2002.07.18
Как узнать над каким объектом формы


3-58002
Katerina
2002-06-27 09:29
2002.07.18
Проблема отображения данных в DBGid


3-57959
Андрусь
2002-06-25 11:27
2002.07.18
Сохранение настроек в базе