Home > Archive > Visual Basic > October 2004 > VB6 unicode problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
VB6 unicode problem
|
|
| Uri Kahn 2004-10-28, 8:55 am |
| my winXP regional settings have English (USA), Hebrew and Russian. Hebrew is
set as the language to match non-unicode programs.
i use MS Access 2000 to store data. when i manually enter records and type
data into a field in english, hebrew and/or russian - i see it fine and it is
stored correctly in the DB.
When i read and display data in a VB6 form, using ado data control and a
bound text filed, i see the english and hebrew correctly, but data input in
russian always shows "?????"... (regardless of the font and charset).
even if i break the program and quick view adodc1.recordset("field-name") -
i see "??????".
(the only time i see the russian correctly is if i bind an hierercical grid
control to the ado data control.)
how can i display correctly the russian in a text field?
HELP PLEASE...
| |
| Randy Birch 2004-10-29, 3:55 am |
| As far as I know, only the Forms 2.0 controls supplied with Office are
capable of displaying Unicode text. Although they are both not recommended
for use in VB, and unsupported for such use by MS, does their use resolve
the problem? If it does you'll have to acquire a VB-compatible Unicode
control, as the VB text box is not capable of this. The Forms 2.0 controls
are the same used in VBA applications such as Access.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
"Uri Kahn" <UriKahn@discussions.microsoft.com> wrote in message
news:54F4A027-F9E6-46C3-B741-1971BC842A00@microsoft.com...
: my winXP regional settings have English (USA), Hebrew and Russian. Hebrew
is
: set as the language to match non-unicode programs.
:
: i use MS Access 2000 to store data. when i manually enter records and
type
: data into a field in english, hebrew and/or russian - i see it fine and it
is
: stored correctly in the DB.
:
: When i read and display data in a VB6 form, using ado data control and a
: bound text filed, i see the english and hebrew correctly, but data input
in
: russian always shows "?????"... (regardless of the font and charset).
:
: even if i break the program and quick view
adodc1.recordset("field-name") -
: i see "??????".
:
: (the only time i see the russian correctly is if i bind an hierercical
grid
: control to the ado data control.)
:
: how can i display correctly the russian in a text field?
:
: HELP PLEASE...
:
:
|
|
|
|
|