A1VBCode Forums

pasting data to other applications


http://www.a1vbcode.com/vbforums/Topic25138.aspx

By rahesh - 6/7/2008

hi friends



i need to create a program that have the facility to paste data in the clipboard to any other programs (notepad,wordpad etc) using shortcut key(ctrl+M). can someone please help me in this.
By vb5prgrmr - 4/24/2009

Check out the SendMessage API with the WM_SETTEXT constant as of of the arguements. You will probably also need FindWindow and EnumChildWindows.

Good Luck