|
-
May 15th, 2002, 07:22 PM
#1
Thread Starter
Fanatic Member
Ok, what's wrong?
Why am I getting an error 13 with this line of code?
VB Code:
ListView1.ListItems.Add "Something"
I get a type mismatch error. Why? I've never had this problem before.
-
May 15th, 2002, 07:24 PM
#2
PowerPoster
I think you need an index for the listitems
-
May 15th, 2002, 07:26 PM
#3
try...
VB Code:
ListView1.ListItems.Add ,, "Something"
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
May 15th, 2002, 07:30 PM
#4
PowerPoster
What I meant was, wait for crptblade to respond.
-
May 15th, 2002, 07:36 PM
#5
hipopony66, when your write '.Add' and space, you will see a tooltip popup, which tells you what kinda parameters and info you should give. Just pass the parameters with the exact order
-
May 15th, 2002, 07:39 PM
#6
When adding a ListItem, you really don't need to give it any parameters at all, they are all optional.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|