rich text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I was using msrichtx32.ocx with access02-we upgraded to access03 and the sky
fell in. I need selprint, sellength and selstrikethru. Didn't find these
properties in RTF2. Does anyone have any info on other ActiveX Rich Text
objects that could help me? Thanks!
 
You can use SendMessage with the control's exposed hWnd to extend the
current capabilites of my RTF2 control. There is a lot of VB sample code out
there for manipulating the Rich Text control.

Perhaps though you should read this thread on how to allow the MS RTF
control to work in A2003.
Sophie Guo [MSFT] Aug 1, 7:19 am hide options

Newsgroups: microsoft.public.access.activexcontrol
From: (e-mail address removed) (Sophie Guo [MSFT]) - Find messages
by this author
Date: Mon, 01 Aug 2005 10:19:46 GMT
Local: Mon, Aug 1 2005 7:19 am
Subject: RE: Issues ms rtf on mso 2003 ?
Reply to Author | Forward | Print | Individual Message | Show original
| Report Abuse

Hello,


I understand the inconvenience you have encountered. However the Rich
TextBox control is not supported in Access 2003, due to security
consideration. For additional information, please read the following
articles:


828089 INFO: Migrating from Microsoft Office XP Developer
http://support.microsoft.com/?id=828089


249150 PRB: Microsoft Rich TextBox Control Does Not Work in Internet
Explorer
http://support.microsoft.com/?id=249150


Here are some workarounds for this issue at present:


1. Give up format rtf with the profit of a more recent format: HTML. You
could then use, for example, control ActiveX "WebBrowser control" to post
the text formatted in HTML.


2. Use a third party Rich Text control, such as FMS RTF control or this
RTF2 control from http://www.lebans.com/richtext.htm


3. Change the registry to lower the ActiveX security. This would not be
recommended as it may cause security issues. Here are the steps if you
want to test this:


A). Click the Start/Open, type "Regedit" in the Open box.


B). In left pane of the Registry window, locate the following key:


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


C). In the right pane of the Registry window, locate the "Compatibility
Flags", check the value of it.


D). If it is 400, change it to 000.


E). Open your database and open the form in design view.


F). Delete the original rtf1 rich text control from the form.


G). Add a new Microsoft Rich Text control in the form and still name it as
"rtf1".


H). Save the database and re-run the forms.


I hope the information is helpful.


Sophie Guo
Microsoft Online Partner Support


Get Secure! - www.microsoft.com/security


=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Stephen,

Thanks for the very fast response! I had to change the registry to get into
production, however, I would like to use your RTF2 control. I will start
looking for code samples that will allow me to do something like
selStrikethru, selPrint and SelLength. Again thanks for your help! Dan

Stephen Lebans said:
You can use SendMessage with the control's exposed hWnd to extend the
current capabilites of my RTF2 control. There is a lot of VB sample code out
there for manipulating the Rich Text control.

Perhaps though you should read this thread on how to allow the MS RTF
control to work in A2003.
Sophie Guo [MSFT] Aug 1, 7:19 am hide options

Newsgroups: microsoft.public.access.activexcontrol
From: (e-mail address removed) (Sophie Guo [MSFT]) - Find messages
by this author
Date: Mon, 01 Aug 2005 10:19:46 GMT
Local: Mon, Aug 1 2005 7:19 am
Subject: RE: Issues ms rtf on mso 2003 ?
Reply to Author | Forward | Print | Individual Message | Show original
| Report Abuse

Hello,


I understand the inconvenience you have encountered. However the Rich
TextBox control is not supported in Access 2003, due to security
consideration. For additional information, please read the following
articles:


828089 INFO: Migrating from Microsoft Office XP Developer
http://support.microsoft.com/?id=828089


249150 PRB: Microsoft Rich TextBox Control Does Not Work in Internet
Explorer
http://support.microsoft.com/?id=249150


Here are some workarounds for this issue at present:


1. Give up format rtf with the profit of a more recent format: HTML. You
could then use, for example, control ActiveX "WebBrowser control" to post
the text formatted in HTML.


2. Use a third party Rich Text control, such as FMS RTF control or this
RTF2 control from http://www.lebans.com/richtext.htm


3. Change the registry to lower the ActiveX security. This would not be
recommended as it may cause security issues. Here are the steps if you
want to test this:


A). Click the Start/Open, type "Regedit" in the Open box.


B). In left pane of the Registry window, locate the following key:


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


C). In the right pane of the Registry window, locate the "Compatibility
Flags", check the value of it.


D). If it is 400, change it to 000.


E). Open your database and open the form in design view.


F). Delete the original rtf1 rich text control from the form.


G). Add a new Microsoft Rich Text control in the form and still name it as
"rtf1".


H). Save the database and re-run the forms.


I hope the information is helpful.


Sophie Guo
Microsoft Online Partner Support


Get Secure! - www.microsoft.com/security


=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
Dan Posey said:
I was using msrichtx32.ocx with access02-we upgraded to access03 and the
sky
fell in. I need selprint, sellength and selstrikethru. Didn't find these
properties in RTF2. Does anyone have any info on other ActiveX Rich Text
objects that could help me? Thanks!
 
Check on the popular VB sites. There are at least a dozen good code examples
out there.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
Dan Posey said:
Stephen,

Thanks for the very fast response! I had to change the registry to get
into
production, however, I would like to use your RTF2 control. I will start
looking for code samples that will allow me to do something like
selStrikethru, selPrint and SelLength. Again thanks for your help! Dan

Stephen Lebans said:
You can use SendMessage with the control's exposed hWnd to extend the
current capabilites of my RTF2 control. There is a lot of VB sample code
out
there for manipulating the Rich Text control.

Perhaps though you should read this thread on how to allow the MS RTF
control to work in A2003.
Sophie Guo [MSFT] Aug 1, 7:19 am hide options

Newsgroups: microsoft.public.access.activexcontrol
From: (e-mail address removed) (Sophie Guo [MSFT]) - Find
messages
by this author
Date: Mon, 01 Aug 2005 10:19:46 GMT
Local: Mon, Aug 1 2005 7:19 am
Subject: RE: Issues ms rtf on mso 2003 ?
Reply to Author | Forward | Print | Individual Message | Show
original
| Report Abuse

Hello,


I understand the inconvenience you have encountered. However the Rich
TextBox control is not supported in Access 2003, due to security
consideration. For additional information, please read the following
articles:


828089 INFO: Migrating from Microsoft Office XP Developer
http://support.microsoft.com/?id=828089


249150 PRB: Microsoft Rich TextBox Control Does Not Work in Internet
Explorer
http://support.microsoft.com/?id=249150


Here are some workarounds for this issue at present:


1. Give up format rtf with the profit of a more recent format: HTML. You
could then use, for example, control ActiveX "WebBrowser control" to post
the text formatted in HTML.


2. Use a third party Rich Text control, such as FMS RTF control or this
RTF2 control from http://www.lebans.com/richtext.htm


3. Change the registry to lower the ActiveX security. This would not be
recommended as it may cause security issues. Here are the steps if you
want to test this:


A). Click the Start/Open, type "Regedit" in the Open box.


B). In left pane of the Registry window, locate the following key:


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


C). In the right pane of the Registry window, locate the "Compatibility
Flags", check the value of it.


D). If it is 400, change it to 000.


E). Open your database and open the form in design view.


F). Delete the original rtf1 rich text control from the form.


G). Add a new Microsoft Rich Text control in the form and still name it
as
"rtf1".


H). Save the database and re-run the forms.


I hope the information is helpful.


Sophie Guo
Microsoft Online Partner Support


Get Secure! - www.microsoft.com/security


=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.



--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
Dan Posey said:
I was using msrichtx32.ocx with access02-we upgraded to access03 and the
sky
fell in. I need selprint, sellength and selstrikethru. Didn't find
these
properties in RTF2. Does anyone have any info on other ActiveX Rich
Text
objects that could help me? Thanks!
 
Back
Top