Convert Forms

J

Jack

In the past to have an outlook item open using a particular published custom
form I set the item.messageclass to the published form's message class.
And, likewise to convert the item back to use the standard form I just set
the form's message class back to the default messageclass (IPM.Contact).
This works fine with the exception of one case where I set the form back to
the standard message class and it still want's to open the custom form. It
is attempting to open it as it is one-offed.

I look at the message class via OutlookSpy (or by adding it to a view) and
it is the default message class (IPM.Contact) however it still wants to open
this custom form.

I am suspecting that something else has been done to this form but I cannot
determine what it is. If I look at the collection of userproperties I see
quite a few fields that do not exist on our custom form, which leads me to
beleive that another program made changes to the contact that is causing
this behavior.

So the question. What other property on the contact form is Outlook using
to determine what form to use when it is opened?
 
S

Sue Mosher [MVP-Outlook]

Did you also use registry substitution to replace the default form globally? See http://www.outlookcode.com/d/newdefaultform.htm

Or does the Size property suggest that you have a one-off form?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
J

Jack

I do not globally set the default form.

However the form size does indicate it is oneoffed, yet the
contactitem.formdescription.onoff is false.

Jack


Did you also use registry substitution to replace the default form globally?
See http://www.outlookcode.com/d/newdefaultform.htm

Or does the Size property suggest that you have a one-off form?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

I'd go by the Size.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
J

Jack

The size indicates it is onoffed.

What are my options to reset the form?

Jack

I'd go by the Size.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top