Lebans non-Active X RTF control; how do you use it?

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

Guest

Hi, I've downloaded and looked at:
"A2KRichTextControl.zip is a non ActiveX RTF solution for Access 2K or
higher. It creates an RTF control from the Common Controls DLL. This current
Beta version only works with Forms." from Leban's web site.

I'm not a programmer. I have a table with fields full of rtf data. All I
want to do is use a control that will display the data from the tables.

What I can't figure out is how to point the subfrmRTFeditor to the data
(field) I want to display. In the sample the subform does not point to any
Data Source, so it must be done in code.

How do I insert the frmRTFeditor into a new form and get it to display the
field I want from a different table?

Thanks for any help in advance.
 
That solution is geared towards Developers. Instead, use the free Rich Text
Activex control on my site.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Do I have to install the .ocx file on the host computer though? I want to
use this .mdb at work and I don't have privleges to be able to alter the
Access software without major hassle...

I can understand some code; I just wondered how it was pointed to the data...
 
All ActiveX control have to have registry entries.

The code to display the fields contents would be in the Form's Current
event.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Thanks Stephen, I'll check it out.

I know just enough about code to understand it (and be dangerous!), even if
I'm a terrible writer!
 
Well, I imported your forms and modules and toolbars & Menus into a test
copy of my .mdb

and I refocused the rtfFrom to my own data

and it picks up the data, but when I navigate between records, it does not
display the rtf, and the debugger gives me an error on this line from the
rtfEditor subform code:

Private WithEvents cbCut As CommandBarButton

and the error message says "the Type is not defined" and some other stuff.

AM I missing a piece of code or something that defines some types?

Thanks for your patience...
 
What References do you have set? (Tools | References when you're in the VB
Editor). Do any of them have "MISSING:" in front of them?
 
Your were right on track.

The Microsoft Office 11 Object Lib was not turned on.
Now its working better! Thanks. On to debugging some more!
 

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

Back
Top