I'm trying to automate the task of filling some documents using OpenOffice.org.
I've already developed a fully working apps that use OpenOffice.org installed into the user computer. What I want now to do is not use the copy of OpenOffice.org installed into the user computer but the portable version of OpenOffice.org stored into a USB stick.
The application I made is developed using VB.NET.
In the application all starts by placing reference to some assemblies (dlls: cli_basetypes, cli_cppuhelper, cli_oootypes, cli_ure and cli_uretypes) into the project. These dll contains functions and definition I can use to access OOo API (or what are also called "UNO Services") and automate OpenOffice.org tasks (like starting an instance of the OOo desktop, loading files and doing stuff in general) Keep in mind thant I don't start OOo desktop by launching some executables, instead I simply make a call to a bootstap function built into these dll. This functions in turn ask Windows to launch OOo desktop and return an object I can use.
These dll gets installed into the GAC where OOo is installed into the PC. In the portable version of OOo they are not present.
Anyway, in the portable version, I've found the "OpenOfficePortable\App\openoffice\URE\bin" folder wich seems to contain many dll related to OOo UNO (specifically the cli_uno.dll is a dll compatible with .NET framework).
My question is: how can I instantiate the OOo desktop using a portable version on OOo?