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
Connection between AOO AddOn and HKEY_LOCAL_MACHINE
Connection between AOO AddOn and HKEY_LOCAL_MACHINE
OpenOffice 4.3.1 on Windows 7
- Hagar Delest
- Moderator
- Posts: 32667
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE
Not sure users of the forum have this kind of knowledge.
Have you tried to ask on the dev mailing list?
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
Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE
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:
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
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/li ... itect.html
- Hagar Delest
- Moderator
- Posts: 32667
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE
Well, I clearly stand corrected!Hagar Delest wrote:Not sure users of the forum have this kind of knowledge.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10