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
Professional Software Development Tools
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
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);
Works like a charm!
Thanks, Brett