?
Solved

How to insert unicode value to the label ?

Posted on 2003-02-21
5
Medium Priority
?
166 Views
Last Modified: 2010-05-01
I want to insert a unicode value to the label(Label1.Caption= " ??")
How can I do this ? Or are exist another controls wich working with unicode ?

Thanks
0
Comment
Question by:Valera_Ned
  • 3
5 Comments
 
LVL 1

Expert Comment

by:jeffreyhamby
ID: 7994676
the ChrW() function is for Unicode converstion.
0
 
LVL 1

Expert Comment

by:jeffreyhamby
ID: 7994714
Oops, I forgot to mention, you have to have language support installed on your box as well.
0
 

Author Comment

by:Valera_Ned
ID: 7994755
to  jeffreyhamby ,
I want to insert script small l (U+2113) .
How i am using chrw for this ?
0
 
LVL 1

Expert Comment

by:jeffreyhamby
ID: 7995099
I've got ChrW(105) for lower case i
0
 

Accepted Solution

by:
dokc earned 600 total points
ID: 7996799
You can use Microsoft Forms 2.0 (they are part of Microsoft Office) with full Unicode support. There is some legal catch about this library and you can check this on
http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b224305

Second solution to get non-Western European characters on "normal" label is to change editor font type in VB environment (Tools->Options->Editor Format-> Font). If you change font to, for example, Courier New Central European and type (using some CE language) text with some non-Western characters and then assign caption:

Private Sub Form_Load()
Label1.Caption = "some Unicode text"
End Sub

this text will be correctly displayed.

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 19 hours left to enroll

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question