Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 2.0 controls from MS Office, but you can't distribute them.
  2. http://www.hexagora.com/en_dw_unictrl.asp $899
  3. http://www.iconico.com/UniToolbox/ $499

Any other options?

like image 379
Clay Nichols Avatar asked Feb 12 '09 07:02

Clay Nichols


1 Answers

I found this tutorial very useful. Yes it is partially an ad for another Unicode Control Suite, but it has a lot of information about how to do it yourself and what issues are involved.

EDIT

I knew I had way more on this stored in my bookmarks.

First of all there is an article from Chilkat (another component vendor) about how to use the Font's charset (assuming it is a unicode font) to set different font types (you have to manually change the .frm since charset isn't exposed in the gui). Then all you have to do is convert from AnsiToUTF8 and back to support different languages (that is what Chilkat's control does).

Second, there are the Vesa Piittinen's free (Creative Commons, source included) VB6 controls for download here. They include Textbox, Label, Menu, List, Dialog, CommandButton, Caption (form's caption)). I haven't played with them much, but basically he is doing all the onPaint and the nice thing is that is all done in VB and you can look at the source.

like image 114
Kris Erickson Avatar answered Oct 02 '22 00:10

Kris Erickson