Re: macro crash problem

2015-05-05 Thread Mathias Röllig
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 Option

Re: macro crash problem

2015-05-05 Thread Engin Oz
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)= "C:\SINERJIGROUP\YENIICRA

Re: macro crash problem

2015-05-05 Thread Mathias Röllig
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( Convert

Re: macro crash problem

2015-05-05 Thread Engin Oz
bookTwitterTuentiGoogle+ identi.ca -Original Message- From: Engin Oz [mailto:o.engi...@gmail.com] Sent: Monday, May 04, 2015 1:20 PM To: api@openoffice.apache.org Subject: macro crash problem When i run this macro 4 or 5 times application crash and close? what

RE: macro crash problem

2015-05-05 Thread Salva open-office.es
y 04, 2015 1:20 PM To: api@openoffice.apache.org Subject: macro crash problem 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.PropertyValu

macro crash problem

2015-05-04 Thread Engin Oz
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( ConvertToU