Code: Select all
DataObject As New DataObject
Dim file As String = "C:\TESTE.PDF"
DataObject.SetData(DataFormats.FileDrop, True, file)
Clipboard.SetDataObject(DataObject)
Code: Select all
DataObject As New DataObject
Dim file As String = "C:\TESTE.PDF"
DataObject.SetData(DataFormats.FileDrop, True, file)
Clipboard.SetDataObject(DataObject)