Results 1 to 3 of 3

Thread: how to declare global variable and check number of instances of a form

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    4

    how to declare global variable and check number of instances of a form

    Hi I have started using VB.net just recently.

    I am trying to implement a global variable that can be called by different forms , may i know how do i do that ?

    And is there any way to detect how many instances of a particular form class is instantiated ?

    Thank you =)

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    You can still add a Module to your project (on the Project menu) and declare any variable there as Public.

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    4
    Thank you very much =)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width