To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58527





------- Additional comments from [EMAIL PROTECTED] Fri Dec  9 16:33:50 -0800 
2005 -------
Please try to duplicate this.
Make a clean install of OOo2 RC4 (or any version after OOo2.0 release), 
choosing custom, allowing all extras, except mobile. [I even cleared the 
registry of any remnants of former OOo2 installations.)

Open a new writer file from the built-in default template. (By "built-in 
default template" I mean that if I do not set a template of my own as default, 
just ask for a new writer file then the file which opens is always the same 
since it is based on internal sources of the program suite. I can define 
another default template for myself but I cannot change this one.)

Open "Tools>>Organize macros" and in Standard>Module 1 (which is now obviously 
empty) write or copy this macro:

Sub myMacro
MsgBox("It works")
End Sub

Save it.

Open again a new file from the built-in default template.
Run the macro from Tools>>Run macro.
It will execute.

Now open again a brand new file from the built-in default template.
Save it under any name [e.g.MyOwn] to Application 
Data>OpenOffice.org2>user>template.

>From Quickstart>From Template open a new file from MyOwn.
Run the macro from Tools>>Run macro.
It will not execute. It will give this 
message: "com.sun.star.uno.RuntimeException"

***
First I supposed that it was a problem with my installations. As I have already 
written: it turned out that the problem is not with macros but with templates. 
Something seriously bad happened to a part of the program suite connected with 
templates, and it happened after OOo2.0 was issued. It works fine. No version 
after that allows macros to execute on a document which was opened from a user-
made template



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to