Page 1 of 1
Connection between AOO AddOn and HKEY_LOCAL_MACHINE
Posted: Wed Dec 13, 2017 8:41 am
by Rushna
Hi All,
I have created on OpenOffice AddOn using Netbeans 8.0.2 IDE and Now I have to get the value from "Software\\Wow6432Node\\... " Registry.
Please tell how to do it.
Rushna
Software Engineer
Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE
Posted: Wed Dec 13, 2017 11:29 pm
by Hagar Delest
Not sure users of the forum have this kind of knowledge.
Have you tried to ask on the dev mailing list?
Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE
Posted: Fri Dec 15, 2017 11:34 pm
by musikai
In BasicLibraries->ImportWizard is "QueryValue" to read the Registry.
Unfortunately it seems to be broken since OO3.3
viewtopic.php?f=20&t=40953
From the above Thread, sth like this works:
Code: Select all
sub readreg
WshShell = CreateObject("WScript.Shell")
keyy = "HKEY_LOCAL_MACHINE\SOFTWARE\LibreOffice\LibreOffice\4.4\Path"
MsgBox WshShell.RegRead(keyy)
end sub
Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE
Posted: Sat Dec 16, 2017 10:42 pm
by Hagar Delest
Hagar Delest wrote:Not sure users of the forum have this kind of knowledge.
Well, I clearly stand corrected!