Set the form's KeyPreview property to true.
Enter the following event handler
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.Control And (e.KeyCode = Keys.V Or e.KeyCode = Keys.Insert)
Then
'Something pasted on the form.
End If
End Sub
Scott Swigart
blog -
http://ea.3leaf.com
"Matthew" <tu*************@alltel.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
When a user types Ctrl.+V in one form, I would like to trap the event and
do something else.
Is this possible?
Matthew