Question on 5.0 and StarDesktop.loadComponentFromURL

Jerry Geis jerry.geis at gmail.com
Fri Aug 14 08:29:48 PDT 2015


Is the oDoc = StarDesktop.loadComponentFromURL still valid in 5.0 ?

I am calling it in my macro and getting an error about the  URL parameter
which is "file:///tmp/file.ptt"
so seems as though the file URL is OK and the file is present.

The error is BASIC runtime... "type detection failed."

Is there a new/correct/better way to load and impress file  ?

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150814/d2191994/attachment.html>


More information about the LibreOffice mailing list