Chango V.
2004-02-10 01:37:27 UTC
Hello,
We have a VBA application originally created for Word 2000/2002. It stops
working after Office 2003 is installed. One VBA form loses a RichTextBox,
which (as expected) breaks the code. When we try to add the control, we get
this error: "The subject is not trusted for the specified action". There are
lots of newsgroup posts about this problem. One proposed solution is this:
http://www.microsoft.com/office/ork/2003/seven/ch26/SecD01.htm. However, it
doesn't work for us.
The problem does not seem to be caused by the RichTextBox library itself.
After some extensive experimentation, we found that the version of FM20.DLL
installed by Office 2003 somehow causes the problem. It probably has tighter
security checks. This DLL is apparently shared by all versions of Office.
That's how installing Office 2003 effectively breaks the older versions for
us. But in 2003 alone, the problem is also present.
To reproduce the problem quickly:
1. In Word 2003, go to the VBA editor and insert a UserForm in any document
or template.
2. Go to Tools - Additional Controls... Select "Microsoft Rich Textbox
Control 6.0". (If it doesn't appear in the list,
C:\WINNT\System32\richtx32.ocx may need to be re-registered.)
3. A new icon should appear on the control toolbox. Try to place an instance
of the control on the form. The error message pops up.
I hope Microsoft folks will finally provide some authoritative statement
here and, hopefully, a solution too. The problem seems to be pretty
wide-spread.
Thanks.
// Chango V.
HyperVision, Ltd.
We have a VBA application originally created for Word 2000/2002. It stops
working after Office 2003 is installed. One VBA form loses a RichTextBox,
which (as expected) breaks the code. When we try to add the control, we get
this error: "The subject is not trusted for the specified action". There are
lots of newsgroup posts about this problem. One proposed solution is this:
http://www.microsoft.com/office/ork/2003/seven/ch26/SecD01.htm. However, it
doesn't work for us.
The problem does not seem to be caused by the RichTextBox library itself.
After some extensive experimentation, we found that the version of FM20.DLL
installed by Office 2003 somehow causes the problem. It probably has tighter
security checks. This DLL is apparently shared by all versions of Office.
That's how installing Office 2003 effectively breaks the older versions for
us. But in 2003 alone, the problem is also present.
To reproduce the problem quickly:
1. In Word 2003, go to the VBA editor and insert a UserForm in any document
or template.
2. Go to Tools - Additional Controls... Select "Microsoft Rich Textbox
Control 6.0". (If it doesn't appear in the list,
C:\WINNT\System32\richtx32.ocx may need to be re-registered.)
3. A new icon should appear on the control toolbox. Try to place an instance
of the control on the form. The error message pops up.
I hope Microsoft folks will finally provide some authoritative statement
here and, hopefully, a solution too. The problem seems to be pretty
wide-spread.
Thanks.
// Chango V.
HyperVision, Ltd.