jcardana
Old to VB6, New to VB.NET
I'm watching THIS tutorial about Drag and Drop.
I'm using the following...
I'm getting error BC3057: Option Strict On disallows late binding.
Turning OFF Option Strict eliminates the error, but contradicts what another tutorial states about it.
Unless I'm thinking about Option Explicit???
Having Option Explicit On, I get no errors.
Thanks for any clarifications on which Option (Strict or Explicit) I should be using,
Joe
I'm using the following...
DragDrop Event:
Private Sub tvwCompDir_DragDrop(sender As Object, e As DragEventArgs) Handles tvwCompDir.DragDrop
' GET [SINGLE] FILE PATH FROM DROPPED FILE
Dim PathFileNames() As String = e.Data.GetData(DataFormats.FileDrop)()
End Sub
Turning OFF Option Strict eliminates the error, but contradicts what another tutorial states about it.
Unless I'm thinking about Option Explicit???
Having Option Explicit On, I get no errors.
Thanks for any clarifications on which Option (Strict or Explicit) I should be using,
Joe