https://bugs.documentfoundation.org/show_bug.cgi?id=97231

--- Comment #3 from Martin <martin.osan...@fabasoft.com> ---
Yes, the problem is still available in version 5.1.0.2

you could create a new makro in the visual basic editor and run it from there:
The following works for me:

Sub Main
Dim sLocTemplatePath as String
Dim sTemplateKeyName as String
Dim sTemplateValueName as String

'sTemplateKeyName = "Software\The Document Foundation\LibreOffice
4.2\StartMenu"
sTemplateKeyName = "Software\The Document Foundation\LibreOffice 5.0\StartMenu"
sTemplateValueName = "swriter.exe"
sLocTemplatePath = QueryValue(HKEY_CURRENT_USER, sTemplateKeyName,
sTemplateValueName)
MsgBox ("Path " + sLocTemplatePath) 

End Sub


With LibreOffice 4.2 the key could be read: Result from the MsgBox was "Path 1"
and with LibreOffice 5.0 the result from the MsgBox was only "Path "

If you use LibreOffice 5.1 you would have to change the Registry Key Name from
5.0 to 5.1 i think.

best regards

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to