I can give you a couple of links for VB6 but you might be using a .net application. You might have to adjust it as Microsoft has diligently worked at destroying Visual Basic after they saw how extremely valuable VB6 became and they were unable to control how far programmers went with it. Thus, .net with its many conflicting versions and with its always JIT (wide open code for everyone to see all of the time). And thus, starting with VS2010 the Microsoft compiler forcefully injecting back doors into the executables. But, here is some help with VB6 and with parsing the rtf format in case that helps you.
https://duckduckgo.com/?q=%2B%22vb6%...22&t=h_&ia=web https://www.vbforums.com/showthread....ricks-and-Tips
Years ago, I found it easy to read the rtf (file or string) and parse that directly.
For example:
English: Hello WORLD!
Japanese: こんにちは世界!
In rtf format is:
- {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}{\f1\froman\fprq1\fcharset128 MS PGothic;}}
-
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 English: Hello WORLD!\par
-
Japanese: \f1\'82\'b1\'82\'f1\'82\'c9\'82\'bf\'82\'cd\'90\'a2\'8a\'45\'81\'49\f0\par
-
\par
-
}
-
Look at VB6 sites for parsing rtf code. With practice it became very easy for me.
A process to see the rtf:
Open Word Pad and paste in the following:English: Hello WORLD!
Japanese: こんにちは世界!
Then save the file as EnglishToJapanese.rtf (in the rtf format option)
Close Word Pad.
Change the file extension from .rtf to .txt .
Open the file with NotePad (different from wordpad).
See the text in the rtf code.
I use C++11 these days, but the previous might help you.
Thanks for asking.