Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

VS 2010 Trying To Use ObjectListView

$
0
0
Hi,

Well, im trying to use: http://www.codeproject.com/Articles/...o-Use-ListView

I've added a reference to the .dll and added the components, as said, that was no prob...

I then added:
Code:

        For Each App As ListViewItem In AppsList.Items
            Dim i As String = App.SubItems(0).Text
            AppsListMaiin.Items.Add(i)
        Next

and got Error: Unable to cast object of type 'System.Windows.Forms.ListViewItem' to type 'BrightIdeasSoftware.OLVListItem'

Can any1 see why?

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>