From: Boris Pauljev on
I would like to drag a text from Notepad or any other program and drop
it into a textbox. I have not yet been able to figure out how to do
that. Can anybody help?
From: Nobody on
"Boris Pauljev" <nordiccoder(a)hotmail.com> wrote in message
news:ei$P%236myKHA.5132(a)TK2MSFTNGP05.phx.gbl...
>I would like to drag a text from Notepad or any other program and drop it
>into a textbox. I have not yet been able to figure out how to do that. Can
>anybody help?

This will not work in Notepad, but I am not sure later OS'es Notepad's
support OLE drag drop(In XP it doesn't). See MSDN for "OLEDragDrop Event".

If you want something that works specifically with Notepad, search the
newsgroups for "vb WM_GETTEXT Notepad".


From: Daryl Muellenberg on
Just want to point out the obvious in case you are trying to over complicate
things. You can just use the standard Windows cut and paste functions to get
text from Notepad (or any other application) to your text box without having
to code anything.


"Boris Pauljev" <nordiccoder(a)hotmail.com> wrote in message
news:ei$P%236myKHA.5132(a)TK2MSFTNGP05.phx.gbl...
>I would like to drag a text from Notepad or any other program and drop it
>into a textbox. I have not yet been able to figure out how to do that. Can
>anybody help?

From: Boris Pauljev on
Yep, I'll just make it so... :-)