Fernand Vanrie wrote:
Hallo all,

I kwow how to create a new BasicLibrary based on the modules in others libraries present in the "globalsscope" or in a "document already opened in the desktop". With the GUI we can simply imoport a complete library prssent in a remote OO-document. Can this "imoport" also been done with the API en some basic code lines ?

OK: found a glimp of hope in the "createLibraryLink" method who is supported by a librarycontainer

it supposes to worke like:

oliblink= basicLibraries.createLibraryLink("Standard",converttoURL("c:\testfile.odt"),false)

here I run in a Error " loadingBASIC of document file:///c:Testfile.odt/script.xlb/:
                                    General Error
                                     Genral input/output error
the "testfile.odt" is present, and can be loaded from the API and contained a "Standard" basic library

any  ideas ???
Fernand

Thanks for any hint

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to