DragDrop

R

Robert S. Liles

I am trying to drag a text file and drop it into a multiline text box. I
get DragEnter, DragOver, and DragLeave events, but I don't get a DragDrop
event. I have AllowDrop set to TRUE for the textbox, the form the text box
is on, and the parent form that opens the form the text box is on. I am
using VB.NET 2002 with .NET Framework 1.0. How can I get the DragDrop
event?

TIA

Bobbo
 
R

Robert Liles

This tells me how to drag from within my application where I can code the
DoDragDrop routine, but I am trying to drag the icon from a text file on the
desktop and drop it into a multiline text box. I know I will have to write
the code to open the file and copy it into the text box, but I need to be
able to retrieve the full path specification from the dragged icon so I can
open the file.

TIA,

Bobbo
 

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