copied the following from a bug marked as a duplicate of this one (bug
307173 ) :
The crash happens in the SUB setFax, when the writer document with the
fax-data, which is opend in this routine, is closed by the user and the
program execution rteturns to the main macro and any other action
(button) is activated. In the older version the same program worked
perfectly until i did the update last week. As far as i remember it was
a update of the base module.
In the meantime i found the reason for that problem!!
When then word document is closed manually, OOo closes also the Database
without saving the changes! For some reason i did not activate the Quickstarter
of OOo. Now i changed that and the crash does happen any more.
But that ist definitly a Bug in the OpenOffice! Closing a Writer
document must not close the Database System!
SUB setFax
DIM sFaxDatei as string
closeFax
sText1 = oFaxe.getControl("Lieferant").getText &".odt"
sFaxDatei = ConvertToUrl(sVerzeichnis & "Faxe/" & sText1)
IF Dir(sFaxDatei)<>"" THEN
oFax = StarDesktop.LoadComponentfromURL(sFaxDatei, "_blank", 0, Args())
ELSE
MsgBox "Die Fax Datei " & sFaxDatei & " ist nicht vorhanden!",16,"Faxe
laden"
END IF
END SUB
--
OOo crashed with unexpectet JAVA Runtime error
https://bugs.launchpad.net/bugs/306501
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs