Go to this site:
http://www.microsoft.com/TechNet/winnt/Winntas/manuals/concept/xcpaa.asp

I think the problem is you are using REG_DWORD, and you should be using REG_SZ.

Luck

------------------
BoxKite
FACTA NON VERBA

_________________________
Box
FACTA NON VERBA