[code]
dim i as long

i = len(txt_testo.text)
[code]

semplice no?