Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying a textbox's contents

Status
Not open for further replies.

Trancedified

Programmer
Joined
Apr 28, 2004
Messages
6
Location
US
Hello,

VB Windows App:

Is there a way to get the contents of a textbox from any existing client application (like a VB app, a textbox from a Web Page, Word, Excel etc.) I was thinking of using the double click event which selects all the contents in a foreign textbox and then using a mousedown event to "copy" onto my own VB textbox.

There's got to be a way as long as the user isn't doing "copy and paste" manually with the mouse. Is there an event that can capture the contents of a textbox?
Any examples will be great!

Thanks.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top