FIX: ARROW Key Does Not Work on Cells that Contain Double-Byte Characters on Japanese Windows (257784)



The information in this article applies to:

  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q257784

SYMPTOMS

When you use the DBGrid control on a Microsoft Windows 95 or Microsoft Windows 98 Japanese edition, the ARROW key is not recognized in certain instances. If the cell contains double-byte characters, the ARROW key is not recognized. If the cell contains single-byte characters, the ARROW key is recognized and your application responds to this event.

RESOLUTION

There is currently no known workaround.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0.

For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed

To download the latest Visual Studio service pack, visit the following Microsoft Web site:

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start Visual Basic 6.0 and create a Standard EXE project. Form1 is created by default.
  2. Place a DataGrid control on the form, such as DataGrid1.
  3. Place an ADO Data control on the form (Adodc1).
  4. Set Adodc1.CommandType to 2 (adCmdTable).
  5. Set Adodc1.ConnectionString to Provider=Microsoft.JET.OLEDB.4.0;Data Source=C:\Program Files\Microsoft Visual Studio\VB98\Biblio.mdb.
  6. Set Adodc1.RecordSource to Authors.
  7. Set DataGrid1.DataSource to Adodc1.
  8. Run the program and click to select any cell, and put a double-byte string in that cell.
  9. Move the cells around by using the ARROW key.
  10. Note that the ARROW key (CURSOR key) works fine on cells that contain only single-byte characters, but does not work on cells that contain any double-byte characters.

Modification Type:MinorLast Reviewed:12/12/2005
Keywords:kbbug kbDatabase kbDataBinding kbfix kbVS600sp4fix kbVS600sp5fix KB257784