Page 1 of 1

BASIC Runtime Error Object Variable Not set

PostPosted: Thu Jun 12, 2008 2:03 am
by Mark_in_Hollywood
After using the Wizard to create a FAX template, everytime I call the template, I get an error message.
basic-runtime-error.png


And the Macro Editor screen comes up and has highlighted text on one line.
Pilot.png


How do I fix this?

Re: BASIC Runtime Error Object Variable Not set

PostPosted: Thu Jun 12, 2008 7:14 am
by Villeroy
For the records: The offending Basic code is in shared "OOo Macros", library "Template", module "Correspondence", sub "OK".
I guess, this code won't run neither when you copy it on top of a new module:
Code: Select all   Expand viewCollapse view
Sub test
  x=createUnoService("com.sun.star.ui.dialogs.AddressBookSourcePilot")
  x.execute()
End Sub
On my system it pops up a dialog. On your system it raises the same error again, I think.


I suggest, you remove all the buggy openoffice.org packages from Ubuntu and install Sun's original edition. [Tutorial] Installing OOo on Ubuntu, Debian and Co.