Cut Text to the Clipboard using Visual Basic 6.0

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
 

Shows how to use VB 6.0 and VB 5.0 to Cut text from the Textbox control to the Windows Clipboard.

'
'Need VB 5.0 or VB 6.0, 1 textbox control. Text1 is the name of your textbox control.

Clipboard.SetText(Text1.SelText)

Text1.SelText = ""

Leave a Reply