Retrieving Registry keys

K

Kent Schederin

Hi

I am saving a key in HKEY_LOCAL_MACHINE in my own defined folder by using an
installation program.

With GETSETTING i can only retrieve values from the Excel or VBA entry in
the registry.

What method can i use to check any key and value in the registry?

KS
 
B

Bob Phillips

If you have Windows Scripting Host available, there is a simple method to
get the registry keys.

Post back if you want an example.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
K

Kent Schederin

Yes, i would like to

KS
Bob Phillips said:
If you have Windows Scripting Host available, there is a simple method to
get the registry keys.

Post back if you want an example.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

using
 
B

Bob Phillips

Dim oWSH As Object

Set oWSH = CreateObject("WScript.Shell")

sRegKey = oWSH.RegRead("HKCU\Software\myKey\mySubkey\myKeyValue")


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top