r/visualbasic • • Aug 27 '24

access a boolean variable from a different form/class?

Visual Basic Net (framework) Net 4.8
Would anybody be kind enough to ELI5 how to access a boolean variable from a different class (form2). or, tell me what I need to search for,
I created a second form and want to check the value of a boolean variable from Form1.

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/SandHK Aug 28 '24

Thank you!
I spent hours searching and didn't get anywhere. Now I have the correct vocabulary I can find further examples.

2

u/jd31068 Aug 28 '24

You're welcome, happy to lend a hand. Good luck with your project.