Tool With Unicode in VB6.0

Posted on 2005-04-06
Last Modified: 2008-01-09
I writed 1 program in This program I have use some tool Presentive database (eg: ListView,DataGrid). But now,  My  Database SQL server need tranlate to Unicode.
Please help me!
Thank you.
Question by:thang74us
    LVL 14

    Expert Comment

    by:Shiju Sasidharan
    Can u please be little bit more clear
    >>My  Database SQL server need tranlate to Unicode.
    u r trying to display contents from database to ListView, Datagird?
    or trying to do the reverse process or something else ?
    or post ur code, where u got stuck

    Author Comment

    Form Load()

    Dim mObjrecord As New ADODB.Recordset
    Dim Item As ListItem
    Dim txt_Sql as string

    Set Conn = New ADODB.Connection
    Conn.Open "Provider=sqloledb;Data Source=THANG-TH ;Initial Catalog= Csdldiachat ;User Id=Webinternet;Password=Internet; "
      txt_SQL = "Select Id,name from VungKhoangSan" txt,conn
      Do While Not mObjrecord.EOF
          Set Item = ListVkhoangsan.ListItems.Add(, , mObjrecord.Fields(1))
          Item.SubItems(2) = mObjrecord(0)
          Item.SubItems(1) = mObjrecord(1)

    name old: "Than Khe chµm"
    but name new is Unnicode "Công ty thạn Khe chàm"
    help me.
    LVL 14

    Expert Comment

    by:Shiju Sasidharan
    LVL 14

    Accepted Solution


    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
    Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now