Page 1 of 1

[Solved] Cannot edit macro code

Posted: Thu Aug 05, 2010 12:35 pm
by Senbee
Hi

I wrote a set of functions associated to a database with OOBase 3.1 under Vista. I created an extension package using BasicAddonBuilder and installed it under OOBase 3.2 Win XP. Now, everything works fine but I CANNOT EDIT THE CODE in the DB under XP. The Editing is disabled, I can see the macros but cannot write.

Any hint?

Tx

Stefano

Re: Cannot edit macro code

Posted: Thu Aug 05, 2010 12:59 pm
by Zizi64

Re: Cannot edit macro code - more

Posted: Thu Aug 05, 2010 1:12 pm
by Senbee
I probably found out why: installing the code as an extension it is placed under OpenOffice macros, not personal macros (but if I install it under the same PC that created the extension it's placed under personal macros...??). So how can I solve it? I.e. move from OpenOffice Macros to Personal Macros?

Re: Cannot edit macro code

Posted: Thu Aug 05, 2010 3:38 pm
by Hagar Delest
Usually, when you install a macro with an extension, the macro is stored in the user profile, then you can access the code. Perhaps you've installed the extension for all users with specific rights and now as a standard user you can't edit it.

So try to remove it and to install for your user only.

Please add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.

Re: Cannot edit macro code

Posted: Thu Aug 05, 2010 4:59 pm
by Senbee
Thanks! This solved it!

Stefano

Hagar de l'Est wrote:Usually, when you install a macro with an extension, the macro is stored in the user profile, then you can access the code. Perhaps you've installed the extension for all users with specific rights and now as a standard user you can't edit it.

So try to remove it and to install for your user only.

Please add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.

Re: [Solved] Cannot edit macro code

Posted: Thu Aug 05, 2010 6:27 pm
by Hagar Delest
Note that once the extension has been made, you can easily update its code without rebuilding it completely (especially if you've associated icons, menus, translations and so on). Copy the modified library in the extension folder to the related folder of the existing extension (open it with an archive manager).