Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I've learned more from your forums in 3 days than 3 months at school and on the job combined..."

Geography

Where in the world do Tek-Tips members come from?
erleybru (Programmer)
14 Jul 04 12:34
Hi,

I need an small sample program in vb 6, using chinese character and unicode. I want to do translation in forms and menus.
chiph (Programmer)
15 Jul 04 21:22
VB6 forms are not Unicode aware.

There is a caveat to that -- VB6 was localized into several markets besides the US/Western Europe edition.

You might could find a Chinese (Simplified Chinese) or Taiwanese (Traditional Chinese) version of VB6, which should allow you to enter Chinese glyphs (only).

Chip H.

____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first

ClassDotNet (Programmer)
1 Aug 04 19:48
There are two choices.  The first is to use normal VB6 forms objects (edit controls, list boxes, etc.) and to specify a font charset, such as in this example, which happens to be for Czech characters:

http://www.example-code.com/vb/vbSendCzech.asp

Chinese would be identical code, except you would pick a charset among the following:

134 GB2312_CHARSET Simplified Chinese characters (mainland china).
136 CHINESEBIG5_CHARSET Traditional Chinese characters (Taiwanese).

An alternative is to add the Windows Forms 2.0 controls to your application, and these are fully Unicode capable -- and you'll have no problem displaying characters in any language.

Hope this helps.

BJ
http://www.classdotnet.com/pages/Text.UnicodeEncoding.html



Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close