Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listview control problem
Message
From
04/10/2001 14:56:25
 
 
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00564268
Message ID:
00564406
Views:
16
>I have a listview control on a form that in one project works as it should but in another doesn't. I get a "Run-time error '13' - Type Mismatch" error when I try to add a new item to a listview control.
>
> Dim L As ListItem
>
> Set L = lvwSelected.ListItems.Add(, , "Item 1")
>
>The same exact control and the form the control is in works correctly in one project but not in another. Anyone know what's going on? TIA.

Do you have any other variable named L (global or private) declared with a different type?

I would try to use a longer name than that.
Previous
Reply
Map
View

Click here to load this message in the networking platform