Thanks for answer.
But i need open url in current swriter not blank page. so _blank is
not suitable for me.
On 5.5.2015 11:05, Salva open-office.es wrote:
Hi
Function OpenDoc( cPathFile As String ) As Object
'---
When i run this macro 4 or 5 times application crash and close?
what can i do for this problem.
dim documentasobject
Dim Props(0) As New com.sun.star.beans.PropertyValue
document = ThisComponent.CurrentController.Frame
document.loadComponentFromURL(
Actually i have a listbox in dialog , Listbox have 2 items. when i click
item, it opens the odt file. when i show dialog and click many times on
listbox items program crashed.
for show dialog
Sub ShowOdtDialog()
strDosyaIsim(0) = CREDITS
strDosyaYol(0)=
Actually i have a listbox in dialog , Listbox have 2 items. when i click item,
it opens the odt file. when i show dialog and click many times on listbox items
program crashed.
Depends it only on the amount of clicks or also on its speed?
Do you change the window between clicks?
Do you use