The registry is a huge database that holds all
necessary the information that the operating system needs to function and
communicate with anything that resides in the computer. It is organized as a
tree view and functions like Windows Explorer. Although it is highly used
by applications installed in the computer, you can use it to store
information related to your application and retrieve that information when
necessary.
Most of the information in the registration is
organized like a dictionary, as a combination of keys and values. In this
exercise, we will create an application with a form that the user can move
while using the application. When the user closes the application, we will
save the location of the form in the registry. The next time the user
opens the application, we will retrieve the previous location and apply it
to the form.
|