[Solved] Start Macro Error

The Application Programming Interface and the OASIS Open Document Format

[Solved] Start Macro Error

Postby Tobin » Sat Feb 14, 2009 8:48 pm

Howdy,

When I first start the macro I'm working on it causes an error. After acknowledging the error the macro starts without an error. Attached is a zip file containing the macro and a bmp of the error.

Do I have something set wrong?
Any suggestions would be appreciated.
Attachments
OpenError.zip
(37.3 KiB) Downloaded 156 times
Last edited by Tobin on Sat Feb 14, 2009 10:06 pm, edited 1 time in total.
Tobin Sparks
OOo 3.0, XP
Houston, Texas USA
OOo 3.0.X on Ms Windows XP
Tobin
 
Posts: 35
Joined: Sun Feb 08, 2009 3:31 am
Location: Houston, Texas USA

Re: Start Macro Error

Postby FJCC » Sat Feb 14, 2009 9:41 pm

I think you just need to add

DialogLibraries.LoadLibrary( "Standard" )

before your createUnoDialog statement.
Windows 10 and Linux Mint, since 2017
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
FJCC
Moderator
 
Posts: 7480
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

[Solved] Re: Start Macro Error

Postby Tobin » Sat Feb 14, 2009 9:56 pm

Fantastic!

I don't remember seeing that line in all the examples and research I've looked thru. That really makes sense though.

Thanks FJCC
Tobin Sparks
OOo 3.0, XP
Houston, Texas USA
OOo 3.0.X on Ms Windows XP
Tobin
 
Posts: 35
Joined: Sun Feb 08, 2009 3:31 am
Location: Houston, Texas USA


Return to UNO API and ODF

Who is online

Users browsing this forum: No registered users and 1 guest