For each

How to get the Name Of Multiple TextBoxes Using For Each Loop

Submitted by janobe on
In this tutorial I will teach you how to get the name of a specific TextBoxes by using For Each Loop in VB.Net. This method will determine what are the names of your TextBoxes that you drag it on the Form. You will be able to find out the specific name of the TextBox because it will be seen in each TextBoxes. So let’s begin: Open Visual Studio and create a new Project. Drag all the TextBoxes and a Button.

How to Get the X/Y Point of a Textbox Using For Each Loop

Submitted by janobe on
In this tutorial I will teach you how to get X/Y Point of a Textbox Using For Each Loop in Visual Basic 2008. With this you can easily get the location of a specific Textbox. I used the Foreach Loop so that you don’t have to specify what is the name of your Textbox. All you have to do, is to get the type of it. Let’s begin. Open Visual Basic 2008, create a new Windows Application, drag the Textbox and Button you needed.