G
Guest
Hello everybody,
I want to declare an array in form1, load it in form1 and then access that
array in form2. New in VB, It took me a while to understand that declaring
variables right under class form1 make those variables accessibles everywhere
in that form1:
Public Class Form1
Inherits System.Windows.Forms.Form
Dim TextLine(66) As String
...
So my question is: how to declare variables in form1 that will be accessible
in form2, form3 & etc. ?
Thank you
I want to declare an array in form1, load it in form1 and then access that
array in form2. New in VB, It took me a while to understand that declaring
variables right under class form1 make those variables accessibles everywhere
in that form1:
Public Class Form1
Inherits System.Windows.Forms.Form
Dim TextLine(66) As String
...
So my question is: how to declare variables in form1 that will be accessible
in form2, form3 & etc. ?
Thank you