Consultor Eletrônico



Kbase P119356: OpenEdge 10 session crashes using Microsoft ListView control version 5 due to empty ListItem Text
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/06/2009
Status: Verified

SYMPTOM(s):

Using Microsoft ImageList and Microsoft ListView ActiveX controls supplied in COMCTL32.OCX

There are no Text value assigned when using the ADD method on ListItem

Using assignment block similar to the following:

chListView:ListItems:ADD(,,"").

Progress session crashes when the code is run

Stack trace from COMCTL32.DLL reads:

DLLGetDocumentation

Same code runs properly in Progress 9.1x

FACT(s) (Environment):

OpenEdge 10.0B
OpenEdge 10.1A
Windows

CHANGE:

Upgraded from Progress 9

CAUSE:

This is a bug in the ActiveX control.

FIX:

Option #1
Upgrade to Microsoft ListView Control 6.0 (SP6) or later.
Option #2
Assign a value to the item caption, even if it is just a space. For example:
chListView:ListItems:ADD(,," ").