Click here to Skip to main content
15,921,169 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I'm trying to make a program and I need to be able to drag and drop text files into a textbox and display the contents or text of the file, code needs to be in VB.Net.

help will be appreciated! :-D :-D :-D
Posted

Drag and drop is not trivial, the code goes in more than one place. However, I would imagine that almost every tutorial on the subject will show you how to do this. Why not search code project for articles, work through one, and ask us ( or the author ) a specific question when you're stuck ?
 
Share this answer
 
Just happened across this link. Looks like you would get the file location from the dragdrop operation, then open the file and read it into your textbox or other control.

Example of Drag and Drop using Files[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900