by =?Utf-8?B?Wm9saQ==?= <Zoli@[EMAIL PROTECTED]
>
Apr 8, 2008 at 11:16 PM
Thank you very much for your help! It was very usefull for me. I have been
looking for this information for hours but couldn't find the article you
mentioned.
Z
"Albert D. Kallal" wrote:
> You don't actualy "set" the type, it based on how you enter the data:
>
> eg:
>
> ROOT:Local Machine
> Key: SOFTWARE\Microsoft\Jet\4.0\Engines
> Name:SandBoxMode
> Value:#00000002
>
> ROOT:Local Machine
> Key: Software\Microsoft\Office\11.0\Access\Security
> Name:Level
> Value:#00000001
>
> Note how the "#" before the number represnets REG_DWORD
>
> The data types are outlined here:
>
> http://msdn2.microsoft.com/en-us/library/aa371168.aspx
>
> we see:
>
> Prefix #x
> The value is interpreted and stored as a hexadecimal value
> (REG_BINARY).
>
> Prefix #%
> The value is interpreted and stored as an expandable string
> (REG_EXPAND_SZ).
>
> Prefix #
> The value is interpreted and stored as an integer (REG_DWORD).
>
>
> --
> Albert D. Kallal (Access MVP)
> Edmonton, Alberta Canada
> pleaseNOOSpamKallal@[EMAIL PROTECTED]
>
>
>