RichTextBox not trusted in VBA?!

Posted on 2004-11-01
Last Modified: 2011-10-03

I am trying to insert a RichTextBox control in a Word VBA form. The instant I specify the control location, I get the following warning:

"Microsoft Visual Basic
The subject is not trusted for the specified action"

As a result, the control is not added to my form. Interestingly enough, the same control can be added successfully in VB6. How come only VBA doesn't like the RichTextBox? Is there a security setting that I can change on my machine?

FYI the control is v. 6.0, SP4 and I am running Word 2003, SP1, on XP Professional, SP1.

Thanks in advance.


Question by:valboy
    LVL 24

    Accepted Solution


    Author Comment

    Thank you, hes, the following solved my problem:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{3B7C8860-D78F-101B-B9B5-04021C009402}

    Change the value for Compatibility Flags from 400 to 0.

    The only problem is that my interface is supposed to work on 30 client machines and obviously I can't mess with their security settings... Anyway, I am closing the thread. Cheers!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    A short article about problems I had with the new location API and permissions in Marshmallow
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now