J
Johannes Peeters
Hello,
I'm using the example from
http://msdn.microsoft.com/library/d.../en-us/dv_vstechart/html/vbtchimpdragdrop.asp
, Dragging Between Lists
However, with option strict set to on, i get the following
message:Option Strict On disallows implicit conversions from
'System.Object' to '1-dimensional array of
System.Windows.Forms.ListViewItem'.
The error is about this line:
Dim myItems() As ListViewItem =
e.Data.GetData("System.Windows.Forms.ListViewItem()")
Does anyone know how i should avoid this? I just can't find it, and i
need to have option stricted turned on.
Thanks,
Johannes Peeters
I'm using the example from
http://msdn.microsoft.com/library/d.../en-us/dv_vstechart/html/vbtchimpdragdrop.asp
, Dragging Between Lists
However, with option strict set to on, i get the following
message:Option Strict On disallows implicit conversions from
'System.Object' to '1-dimensional array of
System.Windows.Forms.ListViewItem'.
The error is about this line:
Dim myItems() As ListViewItem =
e.Data.GetData("System.Windows.Forms.ListViewItem()")
Does anyone know how i should avoid this? I just can't find it, and i
need to have option stricted turned on.
Thanks,
Johannes Peeters