Chapter 16 (39 pages) describes how to read and write in the Windows Registry. All aspects from top-level keys to the various different types of records are described. The chapter shows how to sequentially read all keys and how to target specific keys. Special interest is spent on the most common errors you might encounter.
Topics: Using RegEdit. Reading a specific value. Opening and Closing. Reading Multi-line strings; reading all values within a Key. Creating new Name-Value pairs; updating existing values. HKLM security concerns. Creating new Sub-keys. Deleting. Deleting trees. Error processing.
About this series: A beginner’s guide to C-Sharp programming with Microsoft’s Visual Studio, 2017. A complete programming guide. Simple, step-by-step, fully illustrated. Tailored for new and novice developers. Discusses basic techniques that all programmers need to learn.
This series is sold by Chapters at a low cost. A total of 28 chapters, in three volumes. Over 1800 pages, 900 quality illustrations.
Why am I distributing by chapter? To keep the cost down and to keep each section manageable. This book acts as a reference guide. Topics are covered in great detail, with little time spent on theory. The goal of these books are to solve programming problems quickly and efficiently.
I hope you enjoy reading and studying these pages as much as I have enjoyed writing them. –TRW