I have declared a public structure on top of some module:
<Serializable()> Public Structure aSetup
Dim check As Boolean
Dim times As Double
Dim sTimes As Integer
Dim noone As String
End Structure
Before using it in any form or module I have to declare a local variable from this structure.
For example:
Dim asT as aSetup
asT.noone = "Nemo"
I would like to know if is possible to declare the asT variable globally so structure data can be achievable through all files. How and where do I do that, if possible?
You need to put it in a static class – called a
Modulein VB.NET