Results 1 to 9 of 9

Thread: Dword Value

  1. #1
    Silver Lounger Duchess843's Avatar
    Join Date
    Apr 2002
    Location
    Sicklerville, NJ
    Posts
    2,488
    Thanks
    36
    Thanked 0 Times in 0 Posts
    I would like some information on somethings that not clear in my head.

    In the registry what does the zero and the 1 mean? I've been told the the zero sometimes meas no or not alllowed and the one means yes or allow. I've searched Google and nothing relevent came up.

    Will some kind soul please clear this up?


    Gloria
    <img src=/S/coffeetime.gif border=0 alt=coffeetime width=32 height=48>

  2. #2
    5 Star Lounger
    Join Date
    Jan 2010
    Location
    Los Angeles, CA
    Posts
    828
    Thanks
    4
    Thanked 38 Times in 34 Posts
    That is pretty much correct. Many of the settings are Booleans where 0 means "off" or "no" or "false" or "not set", while 1 means "on" or "yes" or "true" or "set".

  3. #3
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,571
    Thanks
    5
    Thanked 1,056 Times in 925 Posts
    Quote Originally Posted by Duchess843 View Post
    In the registry what does the zero and the 1 mean? I've been told the the zero sometimes meas no or not alllowed and the one means yes or allow. I've searched Google and nothing relevent came up.
    There is no definitive answer for what any setting means. The meaning of any setting in a registry key is defined by the application that creates/maintains/uses the key. While other applications may reference a key they must be aware of what the original creator meant by the various settings.

    Joe
    Joe

  4. #4
    Silver Lounger Duchess843's Avatar
    Join Date
    Apr 2002
    Location
    Sicklerville, NJ
    Posts
    2,488
    Thanks
    36
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Peter Johnson2191 View Post
    That is pretty much correct. Many of the settings are Booleans where 0 means "off" or "no" or "false" or "not set", while 1 means "on" or "yes" or "true" or "set".
    Peter, I know your answer's not set in stone, but just a general idea. I appreciate your answer and it's the same as the information I received from my friend. I will accept this and I thank you so much.

    Gloria
    <img src=/S/coffeetime.gif border=0 alt=coffeetime width=32 height=48>

  5. #5
    5 Star Lounger
    Join Date
    Jan 2010
    Location
    Los Angeles, CA
    Posts
    828
    Thanks
    4
    Thanked 38 Times in 34 Posts
    Joe is also correct - there are many settings that might have 0s or 1s in them that are not Booleans, they are just quantities or amounts or even enumerations (enumeration example: 0 for Sunday, 1 for Monday, etc). Usually the key name will give some clue as to its use, but then again it might not.

  6. #6
    Silver Lounger Duchess843's Avatar
    Join Date
    Apr 2002
    Location
    Sicklerville, NJ
    Posts
    2,488
    Thanks
    36
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Peter Johnson2191 View Post
    Joe is also correct - there are many settings that might have 0s or 1s in them that are not Booleans, they are just quantities or amounts or even enumerations (enumeration example: 0 for Sunday, 1 for Monday, etc). Usually the key name will give some clue as to its use, but then again it might not.
    Thanks fellows for all the could be's, might be's and all the rest. I'm right back where I started, in the dark. The registry entry I'm concerned with has provided a clue, it makes a statement that could only be answered with a yes or no.

    So, in a way, question answered.

    Gloria
    <img src=/S/coffeetime.gif border=0 alt=coffeetime width=32 height=48>

  7. #7
    5 Star Lounger
    Join Date
    Jan 2010
    Location
    Los Angeles, CA
    Posts
    828
    Thanks
    4
    Thanked 38 Times in 34 Posts
    Quote Originally Posted by Duchess843 View Post
    Thanks fellows for all the could be's, might be's and all the rest. I'm right back where I started, in the dark.
    LOL Don't ya just love computers! There are as many exceptions as there are rules! But I'm glad that your question was answered for the entry in question.

  8. #8
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,571
    Thanks
    5
    Thanked 1,056 Times in 925 Posts
    Quote Originally Posted by Duchess843 View Post
    The registry entry I'm concerned with has provided a clue, it makes a statement that could only be answered with a yes or no.
    Just because you think the registry entry can only be answered "yes" or "no", does NOT mean that the programmer necessarily coded anything to support your notion. Most likely he did but that is up to the programmer.

    Joe
    Joe

  9. #9
    Silver Lounger Duchess843's Avatar
    Join Date
    Apr 2002
    Location
    Sicklerville, NJ
    Posts
    2,488
    Thanks
    36
    Thanked 0 Times in 0 Posts
    Well Joe, I'm going to assume that it was coded for a yes or no.
    <img src=/S/coffeetime.gif border=0 alt=coffeetime width=32 height=48>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •