To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=70645 Issue #|70645 Summary|XScriptProvider is seen in Basic as incorrect object Component|api Version|OOo 2.0.4 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|bmarcelly
------- Additional comments from [EMAIL PROTECTED] Fri Oct 20 04:27:37 -0700 2006 ------- 1 - Basic code: Dim sp as variant, v as variant sp = thisComponent.getScriptProvider() v = sp.ElementNames The last instruction throws Basic runtime error: Inadmissible value or data type. Index out of defined range. Yet, Introspection/reflection says property ElementNames do exist in the object and it is an array of strings. 2 - Basic code: dim sp as variant, s as string sp = thisComponent.getScriptProvider() s = sp.DBG_Properties The last instruction throws Basic runtime error: An exception occurred Type: Unknown Message: PackageMasterScriptProvider is unitialised. In fact you get the same error message for any inexistent property like sp.xyz The message is incorrect and DBG_xxx properties should be supported for Basic. --------------------------------------------------------------------- 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]