ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   GetSetting & HKEY LOCAL_MACHINE (https://www.excelbanter.com/excel-programming/343361-getsetting-hkey-local_machine.html)

[email protected]

GetSetting & HKEY LOCAL_MACHINE
 
Hi,

How could i replace GetSetting functionnality for reading and saving
datas in HKEY LOCAL_MACHINE registry entry ?
Could i use an Windows API, but which API ?

Regards
Philippe


Bob Phillips[_6_]

GetSetting & HKEY LOCAL_MACHINE
 
Philippe,

I think you can use WSH, as an example

Dim oWSH As Object


Set oWSH = CreateObject("WScript.Shell")


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



--

HTH

RP
(remove nothere from the email address if mailing direct)


wrote in message
ups.com...
Hi,

How could i replace GetSetting functionnality for reading and saving
datas in HKEY LOCAL_MACHINE registry entry ?
Could i use an Windows API, but which API ?

Regards
Philippe




pcouas

GetSetting & HKEY LOCAL_MACHINE
 
Hi,

I have found solution, regards Philippe



All times are GMT +1. The time now is 08:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com