Microsoft KB Archive/214816

= HOW TO: Use Mdbvu32.exe to Set/Create a Property on a Folder =

Article ID: 214816

Article Last Modified on 8/25/2005

-

APPLIES TO


 * Microsoft Messaging Application Programming Interface
 * Microsoft Exchange Server 5.5 Service Pack 1
 * Microsoft Exchange Server 5.5 Service Pack 2

-



This article was previously published under Q214816





IN THIS TASK
SUMMARY
 * Set or Create a Property on a Folder

REFERENCES



SUMMARY
This step-by-step article demonstrates how to use this utility to set a property of a folder. You can find Mdbvu32.exe on the Exchange Server 5.5 CD.

Mdbvu32.exe is a message store viewer utility written using Extended MAPI. This utility can be used to set MAPI properties on folders and messages in Exchange information stores without writing any additional code. This can prove useful if there are just a few properties you need to set at once.

back to the top

Set or Create a Property on a Folder
Suppose you want to set PR_COMMENT property on the Inbox folder of your mailbox to the value "test". The followings are the steps that you need to follow:

 Open Mdbvu32.exe and ckick OK on the first dialog box to log in. Click the MDB menu and select OpenMessageStore. Click on your mailbox and click Open to open the store. Click on MDB menu item and select Open IPM Subtree. In the Child Folders section of the window, double-click the Inbox. If you wish to modify a message, double-click it in the window marked Messages in Folder. The top window should now say "MAPI_FOLDER - Inbox." Click Property Interface to open the Properties window. If there is a huge number of messages, you might get an error or warning. You can ignore it. Click Set Props. <ul> If the property you wish to set is in the list marked PropID, select it, enter a value in Prop Data, and click Add. In this case, you select PR_COMMENT from the list, and type "test" in Prop Data.</li> If the property you wish to set is not listed, type the hexadecimal value of the property under PropID(Hex) and select the type under PropType. Then enter the value in Prop Data and click Add.</li></ul>

The previous two steps can be repeated to set/change many properties. When all the desired properties have been added to the list, click Call.

</li> The window will close and be replaced by a before and after window showing the effects of your changes. Confirm that the property has been set by looking in the Properties After Modify list and clicking Close to close this window.</li> Click SaveChanges and click OK on the dialog box that pops up.</li></ol>

If you didn't encounter any errors along the way, the properties should now be created and set.

back to the top

<div class="references_section">