Here is some code I use to high light a textbox when a user needs to re-enter data into a textbox, it works great in vb6 but not in .Net. Does anyone know what methods I would use in .Net to preform the same action.

txtname.Setfocus
txtname.Selstart = 0
txtname = Len(txtName.Text)



Thanks

Brad
SLC, Utah