Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forumdisplay.php?f=22)
-   -   Declaring public variable (http://www.go4expert.com/showthread.php?t=13243)

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
 
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


All times are GMT +5.5. The time now is 19:59.