Luis,
The standard VFP Registry .PRG and .VCX only support reading and writing Strings. I made some modifications to these to support binary and dword types, and made them available at our user group web site -
http://www.mmfudg.org/files/reg_up.zip [just 27 KB]. I won't give the whole background here - you can read the embedded "registry_updatedoc.txt" file instead. There are a couple of sample .PRGs of the usage - including writing and reading values. Please let me know if you have any questions, problems or suggestions for further enhancements.
Rick