Murray Brown
asked on
VB 2005 ListView
Hi
I am getting an error on the following line. I have detailed the error after it
oAction = frmR.lsbActionR.Items(j).S ubItems(1) .Text()
Error 48 Overload resolution failed because no accessible 'Item' can be called without a narrowing conversion:
'Public Overridable ReadOnly Default Property Item(key As String) As System.Windows.Forms.ListV iewItem': Argument matching parameter 'key' narrows from 'Long' to 'String'.
'Public Overridable Default Property Item(index As Integer) As System.Windows.Forms.ListV iewItem': Argument matching parameter 'index' narrows from 'Long' to 'Integer'. C:\Documents and Settings\Murray.MURBRO\My Documents\Visual Studio 2005\Projects\AutoXL\AutoX L\modRun2. vb 53 23 AutoXL
I am getting an error on the following line. I have detailed the error after it
oAction = frmR.lsbActionR.Items(j).S
Error 48 Overload resolution failed because no accessible 'Item' can be called without a narrowing conversion:
'Public Overridable ReadOnly Default Property Item(key As String) As System.Windows.Forms.ListV
'Public Overridable Default Property Item(index As Integer) As System.Windows.Forms.ListV
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.