Creating a .reg file in Compact Framework
Hi all,
I have the following issue on a PDA device:
Users can alter registry entries on a PDA device while my application is running. Each time the application exits, I need to save the changed registry entries into a .reg file so that on each cold boot of the device, this reg file can be run automatically to update the registry with the custom user settings.
Does anyone know how to do this?
Thanks in advance.
Re: Creating a .reg file in Compact Framework
A REG file is simply a text file with a specific format and a ".reg" extension. Go to MSDN and read about the appropriate format or just export a few keys and values from the registry editor and open the resulting file in Notepad. Once you know the format you can write your REG file in the same way you would any other text file.