Sorry, I forgot to mention: I need to use KeyPress on a Form... I need to closethe Form when I press ESC and to Activate a Routine when I hit ENTER.