[Libreoffice-bugs] [Bug 97231] QueryValue not working as expected

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 8 06:35:58 UTC 2018


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

--- Comment #13 from Martin <martin.osanger at fabasoft.com> ---
Hello,

The Bug is still available in the latest downloadable release version: 

I have testet my macro with LibreOffice 6.0.2.1

Macro:

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"
sTemplateKeyName = "Software\The Document Foundation\LibreOffice 6.0\StartMenu"
sTemplateValueName = "swriter.exe"
sLocTemplatePath = QueryValue(HKEY_CURRENT_USER, sTemplateKeyName,
sTemplateValueName)
MsgBox ("Path " + sLocTemplatePath) 

End Sub

Sometimes it crashes, sometimes not as already mentioned in the comment from
2017-03-06 15:59:12

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180308/6d6154d9/attachment-0001.html>


More information about the Libreoffice-bugs mailing list