1

我在 VB6 中输入阿拉伯语时遇到问题。我有一个带有 ADO 连接的 Access db,每次我在文本框中键入以将其发送到数据库时,它在文本框中看起来都不错。当我导航时它看起来不错,但是当我回到网格或在 Access 中打开数据库时,我看到了奇怪的字符。

当我在网格或 Access 中用阿拉伯语键入任何内容时,它会显示在文本框中,例如??????

我使用的 Datagrid 也有同样的问题。

有什么问题,我该如何解决?

4

1 回答 1

1

You cannot use an "out of the box" VB6 textbox control. You must add a component reference to a textbox that supports Unicode. There is one freely available with Visual Basic 6 although it is not the default with within the toolbox/palette.

于 2013-04-07T04:56:26.217 回答