ActiveX security in OL 2003 form

E

euphilos

Hello,

I've developed an ActiveX control to be used in OL 2003 forms. The
control works fine at form design time (including when I 'Run this
form'), but when I open an item with it I receive the following error
message:

"To help prevent malicious code from running, one or more objects in
this form were not loaded. For more information contact your
administrator."

I have tried setting all the zone security levels to minimum (all
ActiveX restrictions off), macro security to minimum (couldn't hurt)
and digitally signing the control - all without success.


I appreciate any help anyone can give me. Thanks in advance.
 
E

euphilos

Yes, I tried publishing the form in the Tasks folder and then in th
Personal Forms Library, but without luck. (in the meantime I also trie
implementing the IObjectSafety - not that I would see a direc
connection with this issue - and it did't work either)

I can create items with the form, but when I open them I get the erro
message. And after I dismiss the error Outlook locks and I must kil
the process.

I dont't think it's something the control does, I tried using a blan
control created in VB and I got the same problems.

I have seen the same question on another forum (albeit not answere
there) so it should be duplicable.

Thanks for your reply.
Did you publish the form?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.ht
 
K

Ken Slovak - [MVP - Outlook]

If you can't publish the form that's your problem. Why you can't
publish it is another matter. Is the folder in your own information
store? See if putting the control you are using within a frame control
helps.




euphilos said:
Yes, I tried publishing the form in the Tasks folder and then in the
Personal Forms Library, but without luck. (in the meantime I also tried
implementing the IObjectSafety - not that I would see a direct
connection with this issue - and it did't work either)

I can create items with the form, but when I open them I get the error
message. And after I dismiss the error Outlook locks and I must kill
the process.

I dont't think it's something the control does, I tried using a blank
control created in VB and I got the same problems.

I have seen the same question on another forum (albeit not answered
there) so it should be duplicable.

Thanks for your reply.
Did you publish the form?

 
E

euphilos

Sorry for failing to communicate properly. What I meant is that I
published the form allright, but I still ran into the same problem.

Thank you for your patience.
 
K

Ken Slovak - [MVP - Outlook]

Please post part of the preceding thread when you post, otherwise it
makes it very hard to follow the thread. The interface you are using
doesn't do that.

Do you have "trust installed addins and templates" checked in Tools,
Macro, Security, Trusted sources tab? Is the form published in only 1
place in the system? Have you tried clearing your forms cache?
 
K

kmacdonald

I am having the same problem. I worked with Microsoft thru MSDN support
and they are stumped. They have escalated the issue. We went thru all
of the security issues mentioned (enabling everything in IE) and it
didn't help.

I have duplicated the issue on a brand new XP Professional installation
with Office 2002 installed. Everything works until I install Visio
2003. I imagine that includes some system files that plug some
security hole that prevents outlook forms with code from working. I
originally experienced the issue (earlier in the day) on Windows 2000
SP4 with Office 2000 and got the same exact error immediately after
installing Visio 2003.

Although I was not able to do this (it didn't show up in my programs),
a co worker was able to uninstall a IE patch KB[something]4145 and that
took care of it for him.

Not an option for me. If anyone out that has seen this issue and
gotten around it, please let us know. thanks.

Do you have Visio 2003 installed?
 
A

adleeuw

My collegue and I experience the same problem (error To prevent
malicious code from running....). She has Dutch version of Windows XP
and Office 2003 and Visio 2003 and I have UK versions of these
programs.

When I fill in the fields, after sending it to this collegue the
content of the fields is empty. Sending the same form to another user
with Outlook 2000, the content is preserved. I haven't got a separate
reading layout and custom fields are connected to the form.

I hope you've a solution. Because I can't use any form.
 
K

kmacdonald

I finished the call with Microsoft. I was very surprised that they kne
nothing about this (it went to a senior technician thru an MSDN call).
In any case, I solved it by uninstalling Visio 2003 (and using th
"System Restore" feature in Windows XP (from Accessories -> Syste
Tools) at their recommendation. I just use Visio 2003 on anothe
computer. Theoretically the System Restore just changes registe
settings so I could potentially reinstall Vision 2003 to determine th
registry changes and therefore the culprit that causes the issue.
Since I have no time to do that, I am leaving as is. I also realiz
that we will have to recode this massive Outlook form that defines th
development and testing work flow efforts across our company int
another technology by the time we want to upgrade to Office 2003.

Without the system restore feature, you would probably have to rebuil
your computer.

Sorry, but I was hoping for a better answer as well. If you find
better answer, please let me know.

Thanks
 

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