To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=91017


User ab changed the following:

                What    |Old value                 |New value
================================================================================
                 Summary|CreateInstanceWithArgument|CreateUnoServiceWithArgume
                        |s in basic                |nts in basic
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu Jun 26 11:03:26 +0000 
2008 -------
Correction: A new CreateUnoServiceWithArguments should be implemented
in addition to the existing one CreateUnoService. The new method is for
convenience to avoid using the ProcessServiceManager directly.

To test: Now both subs should work:

Sub MainNew
        dim oListener as object
    oPackagemanager = CreateUnoServiceWithArguments(_
        "com.sun.star.deployment.ui.PackageManagerDialog", _
        Array(ThisComponent.CurrentController.Frame.ContainerWindow,"shared"))
    oPackagemanager.setDialogTitle("This is a test")   
    oPackagemanager.startExecuteModal(oListener) 
End Sub

Sub MainOld
        dim oListener as object
        oServiceManager = GetProcessServiceManager()
    oPackagemanager = oServiceManager.CreateInstanceWithArguments(_
        "com.sun.star.deployment.ui.PackageManagerDialog", _
        Array(ThisComponent.CurrentController.Frame.ContainerWindow,"shared"))
    oPackagemanager.setDialogTitle("This is a test")   
    oPackagemanager.startExecuteModal(oListener) 
End Sub



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to