From: Boris Pauljev on 23 Mar 2010 05:51 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 23 Mar 2010 06:02 "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 23 Mar 2010 12:22 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 23 Mar 2010 14:52 Yep, I'll just make it so... :-)
|
Pages: 1 Prev: I'm New to VB, I wish to Pass 2 strs to a VB Function Next: add maskedbox to MSHFlexGrid class |