I cannot get the focus event code in vb.net 2003. Like in vb.net 2005, we write checkbox1.setfocus(), but what is the alternative for this in 2003?

Please keep in mind, I am working with vb.net 2003

secondly I wish to write the keypress event for a textbox so that I can retrieve each pressed value, which again is not possible in vb.net 2003

Plz help me out.

Try Focus() not SetFocus I'm tryin' to help I use C#
and for keypress, use text changed event handler and you'll get the key; e.Key