
Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
OK. The whole story:
I designed simple from in Outlook 2003 based on standard Message form and
inserted standard Calendar Control 11.0 into it.
Then I published it to the "Personal Folder Library" (Save Form definition
with Item is checked).
I opened new item based on the new form (File->New->Choose Form...).
I entered some text in the new item and save it without sending.
And now the problem:
I tried to open saved item from the "Drafts" folder and got message box: "To
help prevent malicious code from running one or more objects in this form
were not loaded..."
After that my form opened without calendar control!
Were did Outlook find a malicious code? I did not write any script and I
inserted _standard_ Outlook control! Why I can't open my form!?
BTW I changed the security settings to "Low" and get the same result.
Is it a bug from Microsoft? What should I do to kill this warning?
Thanks In Advance,
Arcadium.
> Who's the maker of your calendar control?
Microsoft. It's not my calendar control. It is standard control from
C:\Program Files\Microsoft Office\OFFICE11\mscal.ocx
Here all information about this control: file Version - 11.0.5510.0,
description - Microsoft Calendar Control, digital signature information -
VeriSign Time Stamping Service, Signing time - 15 June 2003 9:42:34
Could anyone step by step reproduce this bug and get needless warning
message?
BTW I have outlook 2003 client and outlook exchange server 5.5.
> And the problem is? Please take the time to quote the original message so
> that people reading your current response can understand what you're talking
> about. Otherwise, you may not receive the answer you're looking for.
Sue Mosher [MVP] - 20 Jan 2004 16:30 GMT
It's not well documented but there is a new AllowActiveXOneOffForms registry
value that determines what ActiveX controls Outlook forms can use. I found
some information at the bottom of
http://www.microsoft.com/office/ork/2003/seven/ch26/SecD01.htm and will try
to locate more.
Unfortunately, the article also suggests that a published form should ignore
that value and trust all ActiveX controls, so there must be more to it. Or,
perhaps, something in your form is causing it to one-off?

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> OK. The whole story:
>
[quoted text clipped - 41 lines]
> talking
> > about. Otherwise, you may not receive the answer you're looking for.