skip to main | skip to sidebar

A great tutorial @ Using Unicode in Visual Basic 6.0

Although Visual Basic 6.0 stores strings internally as Unicode(UTF-16) it has several limitations:

  1. Ships with ANSI only controls (Label, Textbox, etc.).
  2. Properties Window in IDE is ANSI only. Unicode strings are displayed as '????'
  3. PropertyBag automatically converts Unicode strings to ANSI.
  4. Clipboard functions are ANSI only.
  5. Menus are ANSI only.

The purpose of this tutorial is to resolve these issues and provide working VB code solutions. The level of difficulty of these solutions vary but in general require intimate knowledge of ActiveX Controls and Classes. Subclassing and API programming are a must to gain functionality that Vb does not directly support.

1 comments

  1. Nico Westerdale // January 12, 2009 1:36:00 PM GMT  

    If you want to make it easy to support UniCode in Visual Basic then take a look at the UniToolbox control suite which replaces all the common VB controls with UniCode aware versions:

    http://www.iconico.com/UniToolbox

Post a Comment

You can use some HTML tags, such as <b>, <i>, <a>..
Thank you for taking the time to comment..But don't waste it on spamming!

Recent Posts

Subscribe by email

Enter your email address:

or via RSS Feed

Mike

Mike More After few years as a web developer, I started to like blogging as a way to improve my skills and to share knowledge too. My favorite topics are ASP.Net,ASP, JavaScript, jQuery, XML and SQL Server.
<connect></connect>