Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 27th, 2004, 05:34 AM
Registered User
 
Join Date: Feb 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unicode and VB

Hello!

I developed a VB application and used the resource editor for localization. I was wontering whether VB6 supports unicode languages. I found an article in microsoft's web site that suggest to import Microsoft form 2 Object library and use the provided controls.My problem is that I have already developed the VBA using normal controls.Is there another way?

Thanks,

Paul
 
Old February 27th, 2004, 03:05 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, you have to select a font that supports that the character set for that language. This is a snippet from MDSN:

    Select Case GetUserDefaultLCID
    Case &H411 ' Japanese
        font.charset = SHIFTJIS_CHARSET
        font.name = ChrW(&HFF2D) + ChrW(&HFF33) + ChrW(&H20) + ChrW(&HFF30) + _
                      ChrW(&H30B4) + ChrW(&H30B7) + ChrW(&H30C3) + ChrW(&H30AF)

Marco
 
Old March 2nd, 2004, 03:34 PM
Registered User
 
Join Date: Feb 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks mate!





Similar Threads
Thread Thread Starter Forum Replies Last Post
about UNICODE hara_sap Java GUI 2 May 6th, 2005 03:19 PM
Unicode MHS Team VB How-To 0 January 18th, 2005 12:03 PM
unicode soodamanir C++ Programming 1 September 20th, 2004 09:02 AM
UniCode Faiz Visual C++ 5 December 17th, 2003 10:28 AM
Help required to handle unicode in VB rajeshnerenki VB How-To 0 July 11th, 2003 11:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.