Thanks SioSio.
I do not think that I ever used the VBE for VBA. I think that I recall just writing in VB6 then when I got the program done I converted to VBA, or used it as-is instead of VBA. Your way sounds easier. I will try to remember it if I have to use VBA again.
mshakeelattari, I think that twinnyfo has the first part of your answer, then use that with SioSio's guidlines but maybe try to write it in VB6. VB6 works natively in Unicode. All text that you work with in VB6 is converted to Unicode then that is used via unicode then the result is reconverted to your chosen code-page. I think that you have your answer in those posters, but you might have some work to do.
If all this fails, then an option that I used to use was to use VB6 to subclass the difficult program, then control it via the VB6 program.
If you want to see the Unicode that VB6 is sending to you, then use a RichTextBox. You might have to learn how to parse rtf, but I found it worth the effort. ????? in a text box vs the correct hiragana or katakana or etc. characters in a RTF box is better.
If you want to try that, then see my article at
https://bytes.com/topic/software-dev...ow#post3828472 for some general ideas.
幸運を