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
Solved

how to display unicode char in a richtextbox ?

Posted on 2004-08-06
6
2,717 Views
Last Modified: 2008-01-09
how to display unicode char in a richtextbox ?

utvoi.
0
Comment
Question by:utvoi
6 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11735113
VB6 controls do not make it easy to use Unicode characters.  It took us a long time to figure out how to get it to work.  Internally, the strings are stored in Unicode, so why was it so difficult to make it work--Ansi controls.  As a test, we installed the Chinese Language pack on Windows 2000, and made use of the ChrW function.

Bob
0
 
LVL 22

Assisted Solution

by:DarkoLord
DarkoLord earned 50 total points
ID: 11738843
0
 
LVL 22

Expert Comment

by:danaseaman
ID: 11744829
Forget Microsoft Rich Textbox Control 6.0 (SP6) and the one from VbAccelerator. Neither allows setting Unicode via the Text Property. The one that does work can be downloaded from http://www.mvps.org/emorcillo/cod/ctrl.htm
Set the controls font to "Arial Unicode MS" and you can display Unicode in hundreds of languages. More info can be found at my site www.cyberactivex.com "Unicode Tutorial"
Make sure you send it Unicode and not SBCS/DBCS.
0
 
LVL 2

Assisted Solution

by:davidnsc1
davidnsc1 earned 50 total points
ID: 11746988
He changed his site.  It's at the bottom of http://www.mvps.org/emorcillo/vb6/controls/index.shtml
0
 
LVL 22

Accepted Solution

by:
danaseaman earned 250 total points
ID: 12384940
I believe I provided the correct answer. Rich Textbox  http://www.mvps.org/emorcillo/vb6/controls/index.shtml displays Unicode correctly while MS/VbAccelerator versions do not using the Text property.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we 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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

861 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