P
philip
Private Sub FlowLayoutPanel1_DragDrop(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.DragEventArgs) Handles
FlowLayoutPanel1.DragDrop
If e.Data.GetDataPresent(DataFormats.FileDrop) Then
Dim fullFilenames() As String
fullFilenames = e.Data.GetData(DataFormats.FileDrop)
End If
End Sub
Line 'fullFilenames = e.Data.GetData(DataFormats.FileDrop)' 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.DragEventArgs) Handles
FlowLayoutPanel1.DragDrop
If e.Data.GetDataPresent(DataFormats.FileDrop) Then
Dim fullFilenames() As String
fullFilenames = e.Data.GetData(DataFormats.FileDrop)
End If
End Sub
Line 'fullFilenames = e.Data.GetData(DataFormats.FileDrop)' 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