A little more explaining would be useful for your question ...
I would do the following :
- instead of using 59 seperate Variables (Guc1 ... Guc59) use an Array (Dim Guc(59) as decimal)
now you are able to index each Array-Element inside your loop.
- are you really sure that each Textbox contains a numeric value ?
However - your code could look like this :
Dim Guc (59) as decimal
Guc(1) = Val(TextBox5.Text)*Val(Textbox98.Text)
.
.
.
Guc(59) = Val(TextBox42.Text)*Val(Textbox12.Text)
For i = 1 To 59 Step 2
Dim txt As TextBox = CType(TabControlPanel1.Controls("TextBoxX" & i), TextBox)
Hız1 = Val(txt.Text) * RollinRadius * 3.14 * 3.6 / (Val(TextBox1.Text) * Val(TextBox33.Text) * 30)
Power1 = guc(i) * 3.14 / (30 * 1000) *2 *3)
ListBox2.Items.Add(Power1)
Next
Additional :
If you give your Textboxes (and also other controls) names which correspond to the input, which is made into them, your will become much more understandable and readable.
Do you think, that you will know in a few months which input is to be made into TextBox42 (for example) ?