In this post we will show you how to make copy cut paste command using vb.net it is very easy work just make 3 buttons and one text box from tool box after that use the below coding as per video instruction. we need some time this coding for your project like when we need to place a text box for data coping then we use this coding.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Clipboard.SetText(TextBox1.Text)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Clipboard.SetText(TextBox2.Text)
TextBox2.Text = ""
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
TextBox3.Text = Clipboard.GetText
End Sub
End Class