I have this code so far.

vb Code:
  1. Private Sub btnUndo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUndo.Click
  2.         SendKeys.Send("^Z")
  3.     End Sub

I wanted the Undo button to be able to Undo the changes anywhere on the form (In any of the text boxes, quite a few!)

But this does not work. Any ideas?