Remove Form from Personal Form Library Programmatically

  • Thread starter Thread starter David Wilson
  • Start date Start date
D

David Wilson

Hi,

I've been searching and scratching my head about trying to remove a
form from the Personal Form Library.

The annoying thing is that I am after ONE form specifically that is
simply not meant to be there and it's been installed on several
hundred computers.

Is there any way to remove that single form via Outlook Object Model
and/or Redemption?

Thanks,

David
 
The Personal Forms Library consists of hidden messages in the hidden Common
Views folder under your MAPI RootFolder. Each form published in the library
has a message class of IPM.Microsoft.FolderDesign.FormsDescription and the
property in those hidden messages for PR_DISPLAY_NAME (0x3001001E) gives you
the published display name and the property PR_MAILBEAT_BOUNCE_SERVER
(0x6800001E) gives you the published message class.

You can use CDO 1.21 code (an optional installation for Office 2000 and
later) or Redemption (www.dimastr.com/redemption) to get those hidden
messages. See http://www.cdolive.com/cdo10.htm for the property tags you
will need to use and http://www.cdolive.com/cdo5.htm to see sample CDO code
that shows how to use the property tags and how to access the RootFolder.
 
Back
Top