Need help with expressions syntax
I am trying to pull a value from the DWORD in the registry.
1. RegCurKeyDW( "Registry2", >Value name<) - prompted expression
2. RegCurKeyDW( "Registry2", RegCurKey$( "Registry2" )) - what I am trying to use and get the "Cannot understand your expression" error.
What I am doing wrong? Thanks.
Re: Need help with expressions syntax
CurKey$ is a string. Expressions that end with $ always output a string (Some extensions, don't use this, but the majority does!)
To convert it to a value, use Val(String). To convert a string to a value, use Str$(Value).