Rich Text Control will not load in Office VBA apps.

J

Julian Milano

We use the Rich Text Control in our VBA application. But with the latest
patches for Office, the control is marked as unsafe and is explained here:

http://support.microsoft.com/default.aspx?scid=kb;en-us;838010#appliesto

It says the resolution is to "....If you have to provide the functionality
of this control, create a "container" control, such as a Microsoft Visual
Basic 6.0 UserControl control....". Does anyone have instructions on how to
do this?
 
B

Björn Holmgren

Julian Milano said:
We use the Rich Text Control in our VBA application. But with the latest
patches for Office, the control is marked as unsafe and is explained here:

http://support.microsoft.com/default.aspx?scid=kb;en-us;838010#appliesto

It says the resolution is to "....If you have to provide the functionality
of this control, create a "container" control, such as a Microsoft Visual
Basic 6.0 UserControl control....". Does anyone have instructions on how to
do this?


The VB help files explain all about how to create a usercontrol.
Your control can contain any number of intrinsic or activex control such as
the richtextbox. There's a section in the help named "Exposing Properties of
Constituent Controls" that explains how to expose the properties of the
richtextbox from your usercontrol.
 

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