https://issues.apache.org/ooo/show_bug.cgi?id=124049

            Bug ID: 124049
        Issue Type: DEFECT
           Summary: SystemShellExecute doesn't open browser with local
                    HTML file + target
           Product: App Dev
           Version: 4.0.1
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: scripting
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

SystemShellExecute doesn't open browser with local HTML file + target.

Macro example  (with HTML help file in SDK):

Sub OpenHtml() 
  Dim oShell As Object
  Dim Fichier As String, uFile As String

    Fichier =
"file:///C:/Program%20Files%20%28x86%29/OpenOffice%204/sdk/docs/common/ref/com/sun/star/lang/XServiceInfo.html"
    uFile = ConvertToUrl(Fichier)
    oShell = createUnoService("com.sun.star.system.SystemShellExecute") 
    oShell.execute(uFile, "", 0) ' works
    uFile = uFile & "#getImplementationName"
    oShell.execute(uFile, "", 0) ' doesn't work, see error message below
    uFile = ConvertToUrl(Fichier & "#getImplementationName")
    oShell.execute(uFile, "", 0) ' doesn't work, see error message below

End Sub

The error message is: "Windows ne trouve pas 'C\Program Files (x86)\OpenOffice
4\sdk\docs\(...) ".

"Windows ne trouve pas" = "Windows doesn't find"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to