Re: macro crash problem

2015-05-05 Thread Engin Oz
Google+ 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 can i do for this problem. dim

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(

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

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