PASTING files from EXPLORER

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
 
L

Lee Gillie

I think I figured this out. Not sure if it is correct. But if I delete
each file, as processed, then the ghosted file should go away. I.e. -
it is my responsibility to remove the files, not Explorer??

- Lee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top