for a label change the declaration to:

VB Code:
  1. Public Sub TypeWriter(txtt As Label, time As Single, text As String)
  2. ''^^^ make it a label instead of a textbox
and then change the .text property to caption:

VB Code:
  1. txtt.Caption = txtt.Caption & Mid(text,progress,1)