to help prevent malicious code from running one or more objects in this form were not loaded

Hello,

Some years ago, I developped a custom form which I published in My Organizational Forms Library. The form was designed in Outlook 2000 and I used the Excel object (msowc.dll). The form was still working in Outlook 2003 as long as the msowc.dll was registered.

When I upgraded to Outlook 2003 SP3, I had an error once I closed the form and this was fixed by installing the hotfix 935411.

Now I am not able to open the form. I got the message: "to help prevent malicious code from running one or more objects in this form were not loaded"

I don't know what happened. I have other users with the same Outlook version and it is working for them

Thanks for your help
S.
slimardAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

techzterCommented:
Here are two options you can try. The first one covers a corrupted cache that might cause the form to fail. The second is a registry entry to specifically allow the form to run.

First:
http://www.pcreview.co.uk/forums/thread-3370960-2.php
Have you done any customizations to the form? The issue might be a corupted
form cache. You could try to clear your forms cache:

goto Tools->Options

Click on Advance Options button
Click on Custom Forms button
Click on Manage Forms button

Click the clear cache button.

Close all the opened dialogs and restart outlook.



Second:
http://www.outlookcode.com/article.aspx?id=67
The ideal solution for this issue is to avoid one-off forms completely. If you must use a one-off  and you are using Outlook 2003, you can use a registry entry or policy to control the behavior. (This option is not availble in Outlook 2002 SP3). To use a registry entry, add a DWORD value named AllowActiveXOneOffForms to the HKCU\Software\Microsoft\Office\11.0\Outlook\Security value and set it to one of these values:\

    0               Load only the frm20.dll controls, the Outlook View Control, Outlook Recipient Control, and the docsite (message body) control
    1               Allow only controls marked as "safe for initialization" to load
    2               Allow all ActiveX controls to load
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
slimardAuthor Commented:
Basically, I have tried both possible solutions before posting but it did not help. I have two other custom forms where I used the Excel object and the two forms are not working also.
0
techzterCommented:
Sorry that it wasn't more help. You mentioned that it is working on other machines with the same version of office without issue. Perhaps try to remove and reinstall office to see if the issue clears? I don't work with custom forms so perhaps someone that is more familiar with them may be able to come along and shed some better light on the issue for you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.