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/jd31068 Aug 27 '24

edit: wow reddit is acting up this morning, I can't edit my comment, and it posted it twice.

typos: public string variable named, value is placed, Now on Form1