?
Solved

How to insert unicode value to the label ?

Posted on 2003-02-21
5
Medium Priority
?
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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

765 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