[Solved] Connect to LO Portable UNO using BASIC
Posted: Wed Jan 03, 2024 1:51 am
Good morning all,
I’m hoping this is the right place to post this. I will start off by saying thank you very much for this forum, it has helped immensely to overcome previous problems. But, today I haven’t had any success in solving my problem.
As a bit of a background, I am not a programmer by ANY means. However I have been using a programming language called AutoIt to help automate some tasks in L.O. (AutoIt is a Basic Scripting language). A friend and I are attempting to create a UDF (User-Defined Function) to help other users automate tasks in L.O. using AutoIt. It is going well so far, but a user mentioned that this UDF will not work with the Portable Version of L.O., and this got me interested in how much work it would be to be able to connect to the Portable Version of L.O. I have done some searching online, but haven’t found anything too helpful yet. As best as I can tell I need to create a manifest file for the DLL containing the ServiceManager, and then somehow work with that using the Registry Free COM method. Which is all largely over my head.
Does anyone know of anyone else that has connected to a portable version of L.O. using an external basic language ? Or does anyone have some hints on how this might be accomplished? Or if it is even possible?
Thank you for any help,
Donny
P.S. sorry for any nonsensical terminology.
I’m hoping this is the right place to post this. I will start off by saying thank you very much for this forum, it has helped immensely to overcome previous problems. But, today I haven’t had any success in solving my problem.
As a bit of a background, I am not a programmer by ANY means. However I have been using a programming language called AutoIt to help automate some tasks in L.O. (AutoIt is a Basic Scripting language). A friend and I are attempting to create a UDF (User-Defined Function) to help other users automate tasks in L.O. using AutoIt. It is going well so far, but a user mentioned that this UDF will not work with the Portable Version of L.O., and this got me interested in how much work it would be to be able to connect to the Portable Version of L.O. I have done some searching online, but haven’t found anything too helpful yet. As best as I can tell I need to create a manifest file for the DLL containing the ServiceManager, and then somehow work with that using the Registry Free COM method. Which is all largely over my head.
Does anyone know of anyone else that has connected to a portable version of L.O. using an external basic language ? Or does anyone have some hints on how this might be accomplished? Or if it is even possible?
Thank you for any help,
Donny
P.S. sorry for any nonsensical terminology.