Microsoft Windows NT Embedded 4.0  

To add a value to a registry key

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
  1. In the Component Designer navigation pane, expand the appropriate component.
  2. Under the expanded component, right-click Registry, and then click Add Registry Value.
  3. In the Add Valuedialog box, enter the appropriate information for the following:
    • Key name

      Select the path in which to put the value.

    • Value name

      Type the name of the registry entry.

    • Data type
    • Click OK.
    • In the Editordialog box, type the appropriate information.

      See Also

      To add a registry key

      Edit/Add Key Technical Notes



    • Data Type Description
      REG_BINARY Raw binary data format. The Edit Binary Data dialog box displays data for the selected registry entry.
      1. To change the data display for easier entry, click either Binaryor Hex.
      2. In the Datatext box, edit the data for the selected registry entry.
      REG_DWORD A 4-byte data format. To change the data display for easier entry:
      1. Click Binary(base 2), Decimal(base 10), or Hex(base 16).
      2. In the Datatext box, type the correct data for the selected registry entry
      REG_EXPAND_SZ Expandable string, similar to a string except for a variable, which the application must replace.

      For example, the string %Systemroot% is replaced by the location of the directory that contains the Windows NT system files, typically \winnt.

      REG_MULTI_SZ Using multistring, you can enter a number of strings on one value entry.

      In the edit Multiple String Datadialog box, press ENTER between strings.

      REG_SZ A simple string.
      REG_NONE Binary data that has no specific data type.