openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Röllig <mroellig.n...@gmx.net>
Subject Re: macro crash problem
Date Tue, 05 May 2015 12:36:44 GMT
>      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-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org


Mime
View raw message