Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Система";
Текущий архив: 2002.07.18;
Скачать: [xml.tar.bz2];

Вниз

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

 
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;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.006 c
3-57985
diww
2002-06-24 11:47
2002.07.18
Как изменить тип поля бд?


14-58298
Sergey13
2002-06-21 11:32
2002.07.18
Предложение по организации форума


3-58010
Eduard
2002-06-27 10:20
2002.07.18
List index out of bounds


14-58310
alex9999
2002-06-19 10:58
2002.07.18
коллеги


1-58149
amochkin
2002-07-05 14:25
2002.07.18
Создание Polygon из динамического массива точек.





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский