BUG: WFC DataGrid Control Fails When Displaying a Binary Column
Article ID: 195528
Article Last Modified on 6/14/2006
APPLIES TO
- Microsoft Visual J++ 6.0 Standard Edition
- Microsoft Software Development Kit for Java 3.1
- Microsoft Software Development Kit for Java 3.2
This article was previously published under Q195528
SYMPTOMS
An attempt to display a binary field in a Windows Foundation Classes (WFC)
DataGrid control may cause an Application Error.
CAUSE
An underlying call to field.getString() fails.
RESOLUTION
Avoid using the DataGrid control to display binary data, if possible.
If you are writing code that directly manipulates binary fields, use
field.getValue() instead of field.toString().
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
REFERENCES
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
Keywords: kbbug kbjava kbui kbpending kbwfc KB195528