Declaring public variable

Newbie Member
25Aug2008,12:50   #1
pardeep3dec's Avatar
Hi Friends,
Please tell me the process of declaring variable which can be used from any form of a project in vb 6.0
Newbie Member
19Sep2008,17:39   #2
mbshinde78's Avatar
Hi,

It is easy.

Add a global module into your project from the file menu. Then declare a public variable with whatever data type you wish.

That variable will be accessible to you from anywhere within the project