Solved Trouble with an RTF2Toolbar

MvJ

New member
Local time
Today, 09:05
Joined
Mar 6, 2023
Messages
10
I've been tasked with trying to figure out and fix a lot of bugs in a legacy Access application that is used in a lab environment to store very critical data in a SQL Server.
The reference to Stephen Lebans RTF2Toolbar has stopped working, when it is called in the code (via DoCmd.ShowToolbar) it gives the runtime error 2094, that it can't find the toolbar "RTF2".

What I think might've caused this is either that I upgraded the binary file from .mdb to .accdb recently and that somehow caused it to stop working. Or the reference to the toolbar is stripped when exporting the files via the VCS plugin (by joyfullservice on GitHub) I've started using.

Been googling like crazy all day but can't seem to find anything useful, so I'd really appreciate any helpful suggestions..!

Please and thank you! :)
 
When Stephen created his RTF toolbar, he did so because that functionality didn't exist.
However it was added as far back as A2003 IIRC, so rather than convert/fix it, I suggest you use the built-in version
This article may help
 
  • Like
Reactions: MvJ
Thanks! 😄

Edit for future reference, just in case someone else has similar problems: Asked a user to show me how they were working with RTF and it turns out they weren't even using the RTF2Toolbar; they had been using the built in version all along and it was just a question of deleting the references to solve the issues. 🙃
 
Last edited:

Users who are viewing this thread

Back
Top Bottom