Text1.SelLength = 0If you want to block also selecting through keyboard, the best I think out is to put the same statement also into KeyUp event of the textbox.
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...