I have a problem using the rich text control after upgrading to Access 2003.
Any form which already contains a rich text control gives an error "there is
no object in this control" on openning, whereas trying to add the control to
a new form gives "microsoft office Access doesn't support this activex
control".
Anyone know what the problem might be?
TIA
Simon
Access 2003 do not support rich text control anymore. You can either use
other control - FMS Memo (www.fmsinc.com)
or non-control solution (www,lebans.com)

Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
>I have a problem using the rich text control after upgrading to Access
>2003.
[quoted text clipped - 9 lines]
> TIA
> Simon
Simon Shaw - 13 Aug 2004 15:47 GMT
Many thanks Alex - I finally found a KB article about it.
VERY inconvenient that MS can't be bothered to produce a secure version, or
allow you to disable the security block. I don't understand the thinking on
this.
Simon
> Access 2003 do not support rich text control anymore. You can either use
> other control - FMS Memo (www.fmsinc.com)
[quoted text clipped - 13 lines]
> > TIA
> > Simon
Stephen Lebans - 13 Aug 2004 18:59 GMT
Hi Alex!
There is a MS KB article that details how to modify the registry so that
you can use the MS RTF control with Office 2003. If the OP searches
Google with my name and this issue he will find the relevant thread.
The MS RTF control does suffer from several limitations, most notably
the lack of Print Preview and Autosizing of the control as per its
current contents. These limitations do not exist with the FMS RTF
control or my RTF2 ActiveX control on my site. The non ActiveX RTF
solution you mentioned in your post is an older no longer supported
solution. I produced an RTF control in VC++ that is available for free
on my site here:
http://www.lebans.com/richtext.htm
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
> Access 2003 do not support rich text control anymore. You can either use
> other control - FMS Memo (www.fmsinc.com)
[quoted text clipped - 18 lines]
> > TIA
> > Simon
Alex Dybenko - 14 Aug 2004 07:54 GMT
Hi Stephen,
thanks for update!
Alex
> Hi Alex!
> There is a MS KB article that details how to modify the registry so that
[quoted text clipped - 45 lines]
>> > TIA
>> > Simon
Here's a solution that does the trick for me:
Internet Explorer defines a security policy for this RichTextBox ActiveX
control in the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\ActiveX
Compatibility\{3B7C8860-D78F-101B-B9B5-04021C009402}
There's a DWORD property called "Compatibility Flags" which is probably set
to 0x400 on your machine. This value means that applications such as MS
Access should simply fail to load this ActiveX control without prompting
you. Change this value to 0, delete and re-insert the RTF control in your
form...
Another alternative -that I haven't tried yet- is to create a wrapper object
around the RichTextBox control. It will have a different CLSID, so the
security settings described in the key above will not apply, in which case
you will again be prompted to say whether you want to use the control or
not. The benefit of this approach is that you don't need to mess with the
registry. The detrement is that you need to define a new wrapper class.
-- Renee
=======================
Renee Kraft
E-mail: rkraft@ns.merlinus.com
--Remove ns from address--
=======================
> I have a problem using the rich text control after upgrading to Access 2003.
> Any form which already contains a rich text control gives an error "there is
[quoted text clipped - 6 lines]
> TIA
> Simon
Simon Shaw - 17 Aug 2004 11:11 GMT
Thanks everyone. Renee's registry change did solve the problem. When the
current crisis is fully dealt with I'll also have a look at the
alternatives - Stephen I'll try your control, esp. if it's free :-)
Thanks again,
Simon
> Here's a solution that does the trick for me:
>
[quoted text clipped - 36 lines]
> > TIA
> > Simon