Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Discussions about using 3rd party extension with OpenOffice.org

Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Postby Rushna » Wed Dec 13, 2017 8:41 am

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
Rushna
 
Posts: 19
Joined: Tue May 09, 2017 12:42 pm

Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Postby Hagar Delest » Wed Dec 13, 2017 11:29 pm

Not sure users of the forum have this kind of knowledge.
Have you tried to ask on the dev mailing list?
AOO 4.1.6 on Xubuntu 18.10 and 4.1.5 on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28430
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Postby musikai » Fri Dec 15, 2017 11:34 pm

In BasicLibraries->ImportWizard is "QueryValue" to read the Registry.
Unfortunately it seems to be broken since OO3.3
https://forum.openoffice.org/en/forum/v ... 20&t=40953

From the above Thread, sth like this works:
Code: Select all   Expand viewCollapse view
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/libreofficesongbookarchitect.html
musikai
Volunteer
 
Posts: 227
Joined: Wed Nov 11, 2015 12:19 am

Re: Connection between AOO AddOn and HKEY_LOCAL_MACHINE

Postby Hagar Delest » Sat Dec 16, 2017 10:42 pm

Hagar Delest wrote:Not sure users of the forum have this kind of knowledge.

Well, I clearly stand corrected!
:mrgreen:
AOO 4.1.6 on Xubuntu 18.10 and 4.1.5 on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28430
Joined: Sun Oct 07, 2007 9:07 pm
Location: France


Return to Extensions

Who is online

Users browsing this forum: No registered users and 1 guest