Hi,
I want to copy the file to clipboard is there any utility available to do that?
This piece of code helped me to achieve what i want
Dim f() As String = {filePath}
Dim d As New DataObject(DataFormats.FileDrop, f)
System.Windows.Forms.Clipboard.SetDataObject(d, True)
This works perfectly with Notepad files.
MS Word or other files cannot be copied on to Clipboard just by passing the path.