drag drop image

Johnson

Well-known member
Joined
Mar 6, 2009
Messages
158
Programming Experience
Beginner
i know how to display an image in a picturebox by drag drop. but cant find anything on the net about dropping an image to a textbox then having the textbox display its location

reolved if any one else searches for it.

VB.NET:
            Dim Files() As String = CType(e.Data.GetData(DataFormats.FileDrop), String())
            Dim fileDetail As New System.IO.FileInfo(Files(0))


                    txtFilePath.Text = fileDetail.FullName
 
Last edited:
Back
Top