Re: Find if registry key exists ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Timothy!

First: It is not recommended to use the registry to store informations...
The main reason for this is that it does not support roaming-profiles.

Instead you should use
- CSIDL_COMMON_APPDATA for common data
- CSIDL_APPDATA for roaming user data
- CSIDL_LOCAL_APPDATA for local user data

The subfolder to create to store user data files in is:
[company name]\[product name]\[version].

You can download the specification here:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=209E3D65-F0BE-4EEF-8602-73BB9BC29D54

This means I am really supposed to go back to .ini files ?

Or whatever storage you like... (XML?)

--
Greetings
  Jochen

   My blog about Win32 and .NET
   http://blog.kalmbachnet.de/
.