In
VB.NET, the controls are private elements of the form (finally!)
You have to pass the text box control explicitely to the sub, or you can add a property to Form1 that exposes the textBox you want to change (but that is a bad code design, that .NET is trying to discorage)
BTW this is a 'prior .net' forum, I suggest you to switch to a .net forum
Marco