Solved

how to display unicode char in a richtextbox ?

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

utvoi.
0
Comment
Question by:utvoi
[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
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month4 days, 2 hours left to enroll

630 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