L
Lee Gillie
I've implemented PASTE essentially as:
Private Sub mnuEditPaste_Click _
(ByVal sender As System.Object _
,ByVal e As System.EventArgs _
) Handles mnuEditPaste.Click
If Clipboard.GetDataObject.GetDataPresent(DataFormats.FileDrop)
Then
Dim obj As Object =
Clipboard.GetDataObject.GetData(DataFormats.FileDrop, True)
Dim Files() As String = DirectCast(obj, String())
Dim FileName As String
For Each FileName In Files
' Do what I do with pasted file names
Next
End If
End Sub
My application seems to be doing fine with this. But back in EXPLORER
the files which I had CUT remain ghosted. I would have expected them
to actually be removed at some point. I would think there should there
be some kind of post-back notification to explorer he can really go
ahead and complete the CUT operation ?
TIA - Lee Gillie - Spokane, WA
Private Sub mnuEditPaste_Click _
(ByVal sender As System.Object _
,ByVal e As System.EventArgs _
) Handles mnuEditPaste.Click
If Clipboard.GetDataObject.GetDataPresent(DataFormats.FileDrop)
Then
Dim obj As Object =
Clipboard.GetDataObject.GetData(DataFormats.FileDrop, True)
Dim Files() As String = DirectCast(obj, String())
Dim FileName As String
For Each FileName In Files
' Do what I do with pasted file names
Next
End If
End Sub
My application seems to be doing fine with this. But back in EXPLORER
the files which I had CUT remain ghosted. I would have expected them
to actually be removed at some point. I would think there should there
be some kind of post-back notification to explorer he can really go
ahead and complete the CUT operation ?
TIA - Lee Gillie - Spokane, WA