SetPassword

Sets a password to use to open a password-protected file before the file is opened. Currently, you can use this to set a password for ZIP, PST, and NSF files.

NOTE: Unicode passwords are not supported.

Syntax

bRet = KeyView.SetPassword (szPassword);

Parameters

Parameter Type Description
szPassword String The password string.

Returns

Type Description
Boolean

TRUE if the method succeeds.

FALSE if the method fails.