Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
Rushna
Posts: 19
Joined: Tue May 09, 2017 12:42 pm

Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Post 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
OpenOffice 4.3.1 on Windows 7
User avatar
Hagar Delest
Moderator
Posts: 32655
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Post by Hagar Delest »

Not sure users of the forum have this kind of knowledge.
Have you tried to ask on the dev mailing list?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
musikai
Volunteer
Posts: 294
Joined: Wed Nov 11, 2015 12:19 am

Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Post 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
Win7 Pro, Lubuntu 15.10, LO 4.4.7, OO 4.1.3
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/li ... itect.html
User avatar
Hagar Delest
Moderator
Posts: 32655
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Post by Hagar Delest »

Hagar Delest wrote:Not sure users of the forum have this kind of knowledge.
Well, I clearly stand corrected!
:mrgreen:
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Post Reply