Hi Function OpenDoc( cPathFile As String ) As Object '--------------------------------------------------------------------------- ----------------- cPathFile = ConvertToURL(cPathFile) OpenDoc = StarDesktop.LoadComponentFromURL(cPathFile, "_blank", 0, Array() ) End Function
SLV-es Administrador de open-office.es Administrador del Foro Oficial en Español de Apache OpenOffice Síguenos en Facebook Twitter Tuenti Google+ identi.ca -----Original Message----- From: Engin Oz [mailto:[email protected]] Sent: Monday, May 04, 2015 1:20 PM To: [email protected] 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 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() ) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --- El software de antivirus Avast ha analizado este correo electrónico en busca de virus. http://www.avast.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
