EBDN - Community - Question & Answers

  Tuesday, 04 January 2022
  8 Replies
  812 Visits
0
Votes
Undo
I try to read and write a Registry in local machine EB folder.

I use this code:

var val = Application.Registry.Read(RegistryRoot.CurrentUser, "SubKey", "Name");
PlugIn.EB.Registry.Write(RegistryRoot.LocalMachine, "SubKey", "Name", "data");

this two line create an exception : Error HRESULT E_FAIL has been returned from a call to a COM component.

How can I read and write a Registry in local machine EB folder : "VERSION\Client\Addins\" ?