BUG: ListView SubItemIndex Property Not Converted (182068)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q182068 SYMPTOMS
You convert a project written in Visual Basic 4.0 to Visual Basic 5.0. When
you run the project, you note that the SubItemIndex property of a column
header in a ListView control has a value of 0 (zero), or you receive the
following error:
Run-time Error '380':
Invalid Property Value
CAUSE
The SubItemIndex property is omitted from the form file (.FRM) after Visual
Basic version 5.0 converts a 4.0 form containing a ListView control. This
results in the SubItemIndex property having a value of 0.
RESOLUTION
Open the form file (.FRM) in Notepad and add the missing SubItemIndex
value. See the MORE INFORMATION section for a step-by step-example.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbbug kberrmsg KB182068 |
---|
|