Microsoft KB Archive/291462

= OL2000: The Outlook 2000 Object Model Exposes Custom Form Passwords =

PSS ID Number: 291462

Article Last Modified on 9/29/2003

-

The information in this article applies to:


 * Microsoft Outlook 2000

-



This article was previously published under Q291462



SYMPTOMS
You cannot use the FormDescription.ScriptText property of the Outlook object model to retrieve the password of a Microsoft Outlook form. The GetPassword method of the FormDescription.ScriptText property permits you to retrieve the password and expose the code behind the Outlook form.



CAUSE
This behavior occurs because Outlook forms were not designed to be secure mechanisms for the distribution of workflow code. The function of the password feature in Outlook forms is to prevent the accidental modification of the Outlook form during run time.



WORKAROUND
Use one of the following methods to work around this behavior if you require proprietary code to be embedded in Outlook forms:
 * Implement Outlook forms as MAPI forms (compiled code dynamic-link libraries [DLLs]). -or-


 * Use Outlook forms while you move your proprietary code into a compiled code DLL to be loaded by the Outlook form.

Additional query words: OutSol OutSol2000 vbscript OL2K

Keywords: kbprb KB291462

Technology: kbOutlook2000Search kbOutlookSearch kbZNotKeyword3

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.