Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006
    Posts
    355

    Star Registry.GetValeu question with (default)

    Hello

    What could distinguish when accessing the values of a Key, between the default value (AMS7 returns (Default)) and a value in the same key that call (Default).

    How could know what the default value?

    thx

  2. #2
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    A "(Default)" value in the Registry doesn't actually have any name (it's an empty string), it just shows up as "(Default)" in regedit. So a value with the name "(Default)" and the actual default value for the key are automatically different.
    --[[ Indigo Rose Software Developer ]]

  3. #3
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by Solmos View Post
    Hello

    What could distinguish when accessing the values of a Key, between the default value (AMS7 returns (Default)) and a value in the same key that call (Default).

    How could know what the default value?

    thx
    To add to what Lorne said, to get the Default value:

    Code:
    Registry.GetValue(nHive, cKey, "");
    and (IR did a super job on...) the help file shows:

    Note: To get the "(Default)" value's data, use an empty string "" as the value name.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Similar Threads

  1. Kiosk Mode Window Manipulation Question
    By travisperkins in forum AutoPlay Media Studio 6.0
    Replies: 13
    Last Post: 03-06-2006, 07:40 AM
  2. Opening a Website in the User's Default Browser
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 01:33 PM
  3. Formatting variables for print
    By Scally in forum AutoPlay Media Studio 4.0
    Replies: 13
    Last Post: 02-19-2003, 08:52 AM
  4. INFO: How to Set the Default Application Directory
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-25-2002, 12:02 PM
  5. Default text in edit field - Multiple edit screen
    By Romahe in forum Setup Factory 6.0
    Replies: 1
    Last Post: 12-18-2001, 01:01 PM

Posting Permissions

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