How do you declare a variable (or sub) as public so that it can be seen accross all the project. I presently declare public variables within the class of each form - i then can't see them from different forms.
THanks
John
Printable View
How do you declare a variable (or sub) as public so that it can be seen accross all the project. I presently declare public variables within the class of each form - i then can't see them from different forms.
THanks
John
Use a shared member (variable or method). Is part of class instaed of object.
You can also still use Modules which work like they did in VB6.