To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=49110
------- Additional comments from [EMAIL PROTECTED] Thu Jun 23 04:44:39 -0700 2005 ------- ab: I'm responsible for the Basic core in OOo / StarOffice and I just want to clarify some things. aijo, you're right: The password feature is only intended to protect the source code from beeing read and modified. Of course it must be possible to run the macros anyway. Everything else wouldn't make much sense, because why should anyone give away these macros at all then? It would be much easier to just keep them on the local disk to pro- tect them from anyone. So your scenario is exacly what this feature is ment for and it's a bug that the macros cannot be run. But probably it's only a problem of the user interface. The compiled code IS stored and it can be exe- cuted, if one manages to start it... ;-) Maybe it helps you to have some work arounds: You e.g. can integrate a small starter macro in the document's not protected Standard library. This macro can load the protected library by API and then can call any sub inside without knowing the password, e.g.: Sub NotProtectedStarterSub BasicLibraries.loadLibrary( "ProtectedLibrary" ) MySecretSub() ' Call into ProtectedLibrary End Sub You can also assign a sub inside the protected library to a control located in the document, e.g. to a button's "When initiating" event. When the user clicks on the button the protected library will be loaded automatically and the sub will be executed. tbe just made some tests and found that this can only be done before the library is protected. Afterwards - even if the correct password is entered - a macro inside the protected library cannot be assigned any more. We consider this to be part of this bug and it has to be fixed in any case. But anyway with knowing all this it should be possible for now to work around the problem. I hope this helps you. Andreas --------------------------------------------------------------------- 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]
