To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=91332
                 Issue #|91332
                 Summary|runtime error with method getDeployedPackage
               Component|api
                 Version|OOo 3.0 Beta 2
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|cdeval





------- Additional comments from [EMAIL PROTECTED] Thu Jul  3 08:42:23 +0000 
2008 -------
Hello,

try this code to get the runtime error on dev300_m22 :

Sub Main
dim oMonPackage as object, oPackage as object, value as string
value = "/singletons/com.sun.star.deployment.thePackageManagerFactory"
oPackage = GetDefaultContext.GetValueByName(value).getPackageManager("user")
oMonPackage= oPackage.getDeployedPackage("myextension.oxt",null)
End Sub

the same error occurs with getDeployedPackages() method

---------------------------------------------------------------------
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