ERROR WITH LISTVIEW 
Author Message
 ERROR WITH LISTVIEW

I trying with this code and result
"object doesn't support this method or property"

somebody know solution to this problem.

-----------------------------------------------------
Dim item As MSCELISTVIEWLibCtl.ListItem

For Each item In LVRESULTADOITINERARIO.ListItems
    MsgBox item.Text
Next
-----------------------------------------------------



Sat, 10 May 2003 03:00:00 GMT  
 ERROR WITH LISTVIEW
I trying with this code and result
"object doesn't support this method or property"

somebody know solution to this problem.

-----------------------------------------------------
Dim item As MSCELISTVIEWLibCtl.ListItem

For Each item In LVRESULTADOITINERARIO.ListItems
    MsgBox item.Text
Next
-----------------------------------------------------



Sat, 10 May 2003 03:00:00 GMT  
 ERROR WITH LISTVIEW

I trying with this code and result
"object doesn't support this method or property"

somebody know solution to this problem.

-----------------------------------------------------
Dim item As MSCELISTVIEWLibCtl.ListItem

For Each item In LVRESULTADOITINERARIO.ListItems
    MsgBox item.Text
Next
-----------------------------------------------------



Sat, 10 May 2003 03:00:00 GMT  
 ERROR WITH LISTVIEW

I trying with this code and result
"object doesn't support this method or property"

somebody know solution to this problem.

-----------------------------------------------------
Dim item As MSCELISTVIEWLibCtl.ListItem

For Each item In LVRESULTADOITINERARIO.ListItems
    MsgBox item.Text
Next
-----------------------------------------------------



Sat, 10 May 2003 03:00:00 GMT  
 ERROR WITH LISTVIEW
Miguel,

I think the problem is caused because you are using a reserved word for your
variable -- "item".  Try using another variable name like "MyItem".

Charlie


Quote:
> I trying with this code and result
> "object doesn't support this method or property"

> somebody know solution to this problem.

> -----------------------------------------------------
> Dim item As MSCELISTVIEWLibCtl.ListItem

> For Each item In LVRESULTADOITINERARIO.ListItems
>     MsgBox item.Text
> Next
> -----------------------------------------------------



Sat, 10 May 2003 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Wierd Error in Listview and Form

2. How to prevent display errors in ListViews

3. Invalid key error in listview control

4. Invalid Key error on ListView Control - At Wits End!

5. ListView column sort error

6. populate listview error

7. Newbie Needs Help with ListView--Error Message

8. HELP --- Adding ListItem to ListView always returns Error 13 - Type Mismatch

9. URGENT: ListView Error

10. Type Mismatch Error in Using ListView

11. ListView ColumnHeaders property error

12. ListView Class error?

 

 
Powered by phpBB® Forum Software