Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Posts
    2

    Cannot get data from (default) registry key value

    Hi All

    Using Registry.GetValue I can get data from other REG_SZ values (ThreadingModel) in a sub key (InprocServer32) but not from the "(Default)" value.

    Will appreciate help - there must be a simple explanation.

    Thanks

  2. #2
    Join Date
    Jan 2000
    Posts
    2,002
    Just send through an empty string to get the default value of the key:

    Code:
    strData = Registry.GetValue(HKEY_CLASSES_ROOT,".am5","");
    Dialog.Message("Result",strData);

  3. #3
    Join Date
    Oct 2003
    Posts
    2
    Works like a charm!

    Thanks, Brett

Posting Permissions

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