When i run this macro 4 or 5 times application crash and close?
what can i do for this problem.

     dim document    as    object
     Dim Props(0)     As New com.sun.star.beans.PropertyValue
     document   = ThisComponent.CurrentController.Frame

     document.loadComponentFromURL(
ConvertToURL(strDosyaYol(oListBox.getSelectedItemPos())), "_self", 0,
Props() )

How strDosyaYol() is defined? Please go step by step through the macro and look if oListBox.getSelectedItemPos() always give a defined value for strDosyaYol().

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org

Reply via email to