This item contains active content that cannot be displayed in the preview pane. Open the item to rea

S

Shadow

I have outlook 2000 with sp3, do have a custom form with vb code
published as default form. In preview pane I get the error This item
contains active content that cannot be displayed in the preview pane.
Open the item to read its contents. However the same form published as
default on another machine with outlook2000 with SR-1 does not give me
the preview pane error.

As per Sue Mosher, This is now normal behavior in Outlook for forms
with code behind them.

Do I have any other option to show the message in preview pane? I have
item_open, Item_write, Item_send event which are using a com-addin
interface.


Please help.

Thanks
 
K

Ken Slovak - [MVP - Outlook]

If the form has code in it or ever had code in it then you can't display it
in the preview pane. You would have to make up a new form with no code in it
and do all the things you did in the form code using COM addin code. I do
that all the time with custom forms to avoid the preview pane problem.
 
S

Siegfried Weber

Shadow said:
I have outlook 2000 with sp3, do have a custom form with vb code
published as default form. In preview pane I get the error This item
contains active content that cannot be displayed in the preview pane.
Open the item to read its contents. However the same form published as
default on another machine with outlook2000 with SR-1 does not give me
the preview pane error.

As per Sue Mosher, This is now normal behavior in Outlook for forms
with code behind them.

Do I have any other option to show the message in preview pane? I have
item_open, Item_write, Item_send event which are using a com-addin
interface.

If you already have a COM add-in you could try to add some code on the
appropriate even of the folder (IIRC, itemAdd - check the object browser) to
remove the following CDO 1.21 code:

' objMessage is a CDO 1.21 message object
strPropsetGUID = "0820060000000000C000000000000046"
Set objFields = objMessage.Fields
With objFields
Set objField = .Item("{" & strPropSetGUID & "}0x8510")
objField.Delete
End With
objMessage.Update True, True

--
Cheers,

Siegfried Weber

If you want a smart answer, ask a smart question
http://catb.org/~esr/faqs/smart-questions.html

Why tables are bad: http://www.hotdesign.com/seybold/,
http://webdesign.about.com/cs/tables/a/aa020800b.htm

Note: Please do not send any e-mail to my old address
(e-mail address removed) because I am no longer connected with this
organization.
 
S

Siegfried Weber

Sorry. This should have read:

If you already have a COM add-in you could try to add some code on the
appropriate even of the folder (IIRC, itemAdd - check the object browser) to
remove the flag with the following CDO 1.21 code.
 

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