Thanks! As soon as you exposed me to the local variable thing I went and found the private declaration syntax and whattaya know all the examples throughout the book did not use it so I'd remained oblivious. You guys should put together a book from all the forum posts. Cheers!
OK here the code for creating the textbox array:
Const rows As Integer = 3
Const columns As Integer = 3
Const xGap As Integer = 58
Const yGap As Integer = 48
Dim i As Integer
Dim j As Integer
'declare array of textboxes
Dim gridTextBox(rows, columns) As TextBox
'create each element in...
Hello. I've come from a c++ background and learning VB.NET has been confusing for some reason cos of this.
Anywho, I have a 2d array of textboxes (gridtextbox(i,j)) that are generated in the load procedure and work perfectly. However when I try to code the click event that calculates the sum...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.