Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

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).SubItems(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.ListViewItem': Argument matching parameter 'key' narrows from 'Long' to 'String'.
    'Public Overridable Default Property Item(index As Integer) As System.Windows.Forms.ListViewItem': Argument matching parameter 'index' narrows from 'Long' to 'Integer'.      C:\Documents and Settings\Murray.MURBRO\My Documents\Visual Studio 2005\Projects\AutoXL\AutoXL\modRun2.vb      53      23      AutoXL
ASKER CERTIFIED SOLUTION
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial