1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Declaring public variable

Discussion in 'Visual Basic ( VB )' started by pardeep3dec, Aug 25, 2008.

  1. pardeep3dec

    pardeep3dec New Member

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

    mbshinde78 New Member

    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
     

Share This Page