The MessageClass is the best thing to check. Any custom form created using
an OFT file will have a custom MessageClass. If these are email items it
will be "IPM.Note.xxx" where "xxx" is the custom part of the MessageClass.
To open items with that custom MessageClass the custom form must be
available as a published form wherever that form is being opened. If it is
not available the form will be opened using the standard form for that type
of item.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"WLAN" <(E-Mail Removed)> wrote in message
news:FA20569A-16AF-43DC-98F5-(E-Mail Removed)...
> Hi,
>
> I'm working on an e-mail archiving software. Our software stores e-mails
> from outlook into our repository.
>
> Later user can view these stored messages from repository using our
> standalone application. In our standalone application, if user double
> clicks
> a stored message,it should be open in explorer window.
>
> But when I open some messages,initially it is showing the below message
> 'The
> custom from cannot be found. Outlook uses an Outlook form instead. please
> contact administrator".
>
> When I click OK button in this warning message, mail gets opened in
> inspector window. This is happening only for certain messages. I think
> outlook is throwing this warning message.
>
> I tried to clean frmcache.dat also. After that outlook displays messages
> using a different form.
>
> Is there any MAPI property which specifies custom form or something like
> that? how do I find out why this is happening for some messages and not
> for
> others?
>
> Thanks in Advance
>