What's the best option to display Unicode text (hebrew, etc.) in VB6

后端 未结 6 993
余生分开走
余生分开走 2020-11-27 21:04

I have some customers who want to use our speech therapy software in Hebrew.

The programs are in VB6. The best option I\'m aware of are:

  1. use the Forms
6条回答
  •  一个人的身影
    2020-11-27 22:04

    Here are some comments about displaying Unicode characters in Microsoft Visual Basic forms using resource (.RES) files:

    When I pasted Russian or Japanese characters to Microsoft Visual Basic 6 Resource Editor when creating a resource (.RES) file, the characters would appear as question marks (?) both in MSVB6 Resource Editor and in MSVB6 forms displayed on a computer with Russian or Japanese locale, respectively, using the resource DLL that I built from the RES file through MSVB6.

    However, if I added the characters to the resource file by pasting them into Resource Hacker http://www.angusj.com/resourcehacker, the characters still would display as question marks in MSVB6 Resource Editor, but would display correctly on a computer with appropriate locale after I built the resource DLLs through MSVB6.

    One can make resource DLLs for each of several languages and use Microsoft's GetUserDefaultLCID or GetUserDefaultLocaleName to decide which to load.

提交回复
热议问题