FIX: DhRow.removeAll() Causes a com.ms.com.ComFailException (194898)
The information in this article applies to:
This article was previously published under Q194898 SYMPTOMS
When you call DhRow.removeAll() the following exception occurs:
com.ms.com.ComFailException: Unknown error(0x800a0258)
at com/ms/wfc/html/om/IHTMLElement.setOuterHTML (IHTMLElement.java)
at com/ms/wfc/html/DhElementArray.removeInternal (DhForm.java)
at com/ms/wfc/html/DhElementArray.remove (DhForm.java)
at com/ms/wfc/html/DhBaseContainer.removeChildren (DhBaseContainer.java)
at com/ms/wfc/html/DhBaseContainer.removeAll (DhBaseContainer.java)
RESOLUTION
To work around this problem, remove each cell in the row individually using
the DhRow.remove() method. For example, do the following to remove all of the cells from a DhRow element called row1:
DhCell[] cells = row1.getCells();
if (cells != null) {
for (int i = 0; i < cells.length; ++i)
row1.remove(cells[i]);
}
STATUSMicrosoft 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 Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base: 194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why 194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
REFERENCES
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 6/14/2006 |
---|
Keywords: | kbBug kbfix kbJava kbVS600sp3fix kbWFC KB194898 |
---|
|