How can I keep the invisible GUI running when closing the Switchboard? [closed]

asked 2013-02-05 18:48:25 +0200

juergen gravatar image

updated 2014-07-25 23:00:27 +0200

bencomp gravatar image

Hy guys,

i have a little problem you will see it in my test.odb file. I started with openoffice and now i am useing Libreoffice. You can get it from my post in the German forum:
I post this problem in some forums. In the German forum you will find the links to the other sites.

You need some Extension to run it:
(Libreoffice: Reportbuilder available)
Oracle Reportbuilder

And you have to register the database in openoffice!

If you open the file you will see the switchboard. There you can open the form "Mitarbeiter". Now mark one and press the button "bericht". A report will be created. If you close the Report by clicking on x the report will be closed.

But If you add the function unvisible_Gui in the StartOpenOfficeMain there is a problem if you try the same again. If you close the report the switchboard will be closed too!


Sub StartOpenOfficeMain   
      '   unvisible_Gui   
End Sub

can you help or tell me the mistake (sorry for my bad english)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-10-04 18:29:36.006495


@juergen -- Are you still looking for an Answer to your question?

qubit gravatar imagequbit ( 2013-03-10 04:32:49 +0200 )edit

Surely, this is a problem with the switchboard extension, and not LibreOffice as such ? The unvisible-Gui routine must activate a "connection dispose", which will necessarily cause the whole ODB file to be shut down. If the basic db connection is disposed of, OO/LO has no way of knowing how to connect back to it again as the switchboard extension must, I assume, use some form of independent frame referencing (parent/child window management). How do we know that the bug isn't in Switchboard code?

Alex Thurgood gravatar imageAlex Thurgood ( 2014-07-18 12:48:56 +0200 )edit

It might help us more if you could post the unvisible_Gui code

Alex Thurgood gravatar imageAlex Thurgood ( 2014-07-18 12:52:22 +0200 )edit