View Single Post
  #2 (permalink)  
Old September 6th, 2005, 12:58 PM
marcostraf marcostraf is offline
Friend of Wrox
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts

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

Reply With Quote