Microsoft KB Archive/257784

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

Article ID: 257784

Article Last Modified on 8/7/2007

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



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:

http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx



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.

Additional query words: sp4

Keywords: kbbug kbdatabase kbdatabinding kbfix kbvs600sp4fix kbvs600sp5fix KB257784

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.