VBA with chinese character.

Hi,
I have an application coded using VBA, recently i wanted to change the input of a Value from english to chinese character but have problem doing so.
The problem is when i tried to input a character like ¿ the application display nothing at all...
But when i input ¿& it displayed ¿ but internally it still uses ¿& .

Is there a syntax i can use to only get the character?
csharp_learnerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

danaseamanCommented:
Not sure what control you are using or how you are supplying the string caption.

Try this for Chinese sample:

Command1.Caption = "CHS: " & ChrW$(&H6B22) & ChrW$(&H8FCE)

0
csharp_learnerAuthor Commented:
thanks for the prompt reply
I was more looking for a syntax inorder to input the chinese character eg.$¿$ or &&¿&&
0
danaseamanCommented:
Char ¿ is Hex BF which is not a Chinese character. Can you show the character you are trying to use in a Unicode text file and post it here. Thanks.
0
csharp_learnerAuthor Commented:
sry not very sure how to give u the word in unicode format but the word is "Kai" http://www.chinese-tools.com/tools/sinograms.html?q=%E5%BC%80 is there a difference cos i'm using several differenct characters in my  input.
0
danaseamanCommented:
From link you provided KAI is Unicode U+5F00.

Therefore:
CommandButton1.Caption = ChrW(&H5F00)

Here is a nice free program that shows all Unicode characters and their Decimal or Hex equivalents.

http://www.babelstone.co.uk/Software/BabelMap.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.