CreateUnoService Function

Instantiates a Uno service with the ProcessServiceManager.

කාරක රීතිය:

oService = CreateUnoService( Uno service name )

For a list of available services, go to:


oIntrospection = CreateUnoService("")

The following code uses a service to open a file open dialog:

Sub Main
    fName = FileOpenDialog ("Please select a file")
    Print "file chosen: "+fName
End Sub
Function FileOpenDialog(title As String) As String
    filepicker = createUnoService("")
    filepicker.Title = title
    files = filepicker.getFiles()
End Function

Please support us!