Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   Declaring public variable (http://www.go4expert.com/forums/declaring-public-variable-t13243/)

pardeep3dec 25Aug2008 12:50

Declaring public variable
Hi Friends,
Please tell me the process of declaring variable which can be used from any form of a project in vb 6.0

mbshinde78 19Sep2008 17:39

Re: Declaring public variable

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

All times are GMT +5.5. The time now is 23:37.