Private Sub FlowLayoutPanel 1_DragDrop(ByVa l sender As System.Object,
ByVal e As System.Windows. Forms.DragEvent Args) Handles
FlowLayoutPanel 1.DragDrop
If e.Data.GetDataP resent(DataForm ats.FileDrop) Then
Dim fullFilenames() As String
fullFilenames = e.Data.GetData( DataFormats.Fil eDrop)
End If
End Sub
Line 'fullFilenames = e.Data.GetData( DataFormats.Fil eDrop)' give the Error
'Option Strict On disallows implicit conversions from 'Object' to
'1-dimensional array of String'
I must disable 'Option strict' to continue...
What must I change to avoid this error ?
Thanks for your attention
Philip
ByVal e As System.Windows. Forms.DragEvent Args) Handles
FlowLayoutPanel 1.DragDrop
If e.Data.GetDataP resent(DataForm ats.FileDrop) Then
Dim fullFilenames() As String
fullFilenames = e.Data.GetData( DataFormats.Fil eDrop)
End If
End Sub
Line 'fullFilenames = e.Data.GetData( DataFormats.Fil eDrop)' give the Error
'Option Strict On disallows implicit conversions from 'Object' to
'1-dimensional array of String'
I must disable 'Option strict' to continue...
What must I change to avoid this error ?
Thanks for your attention
Philip
Comment