Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listview control problem
Message
De
04/10/2001 14:56:25
 
 
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00564268
Message ID:
00564406
Vues:
17
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform