You can access the controls by name via the Form.Controls
property, for instance:
Dim text1 As TextBox = CType(Me.Controls("text_1"), TextBox)
More Related Contents:
- The difference between + and & for joining strings in VB.NET
- Count specific character occurrences in a string
- When to use StringBuilder? [duplicate]
- Nothing = String.Empty (Why are these equal?)
- Convert string to datetime in vb.net
- Convert String to Double – VB
- Hangman VB Not Working
- VB: Unhandled exception [duplicate]
- First time execution was not stopped
- How does the String class override the + operator?
- OleDbException was unhandled…….Syntax error in UPDATE statement
- String to object in JS
- Does console.log invokes toString method of an object?
- VB6 keyword Set what does it mean?
- How to use comparison methods between class object modules in VBA in a similar manner as VB.NET?
- System.Data.OracleClient requires Oracle client software version 8.1.7
- HTTP GET in VB.NET
- Passing parameter to query for Access database
- Is VB really case insensitive?
- Associating file extensions with a program
- How to apply __str__ function when printing a list of objects in Python [duplicate]
- How to add a project as a reference of another project
- Is there a possibility to address elements on a website which have no ID?
- How to escape double quotes in as a parameter to an NUnit TestCase?
- How do I find out which control has focus in .NET Windows Forms?
- Execute a SQL Stored Procedure and process the results [closed]
- Show checked rows into another DataGridView
- Transparency of picture box
- Collection initialization syntax in Visual Basic 2008?
- How to write an object to file in C++