To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59904
Issue #:|59904
Summary:|CreateUnoService doesn´t create new frame
Component:|api
Version:|OOo 2.0.1
Platform:|All
URL:|
OS/Version:|Windows 98
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|sw
Reported by:|sarotti
------- Additional comments from [EMAIL PROTECTED] Fri Dec 30 13:13:21 -0800
2005 -------
the following macro doesn´t work correct in the 2.0.1 version but only in
2.0.0.
The file "form1" is loaded, but using the same code to open another file
creates
a new frame. It´s not opened in the same frame.
Sub LoadForm1
Dim oDoc1 As Object
Dim sURL1 As String
Rem Load a documents into the frame "myframe"!
oDesk = createUnoService("com.sun.star.frame.Desktop")
Dim NoArgs()
Rem Frame "myframe" will be created if it does not exist because it includes
"CREATE"
sUrl_1 = "file:///C:/Form1.odt"
oDoc1 = oDesk.LoadComponentFromUrl(sUrl_1, "myframe", 63, Noargs())
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]