Results 1 to 10 of 10

Declare global variable in Application level

Threaded View

suman.biswas Declare global variable in... 09-17-2009, 09:28 AM
Richard Schollar Re: Declare global variable... 09-17-2009, 09:36 AM
pike Re: Declare global variable... 09-18-2009, 02:45 AM
royUK Re: Declare global variable... 09-18-2009, 03:01 AM
suman.biswas Re: Declare global variable... 09-18-2009, 03:38 AM
pike Re: Declare global variable... 09-18-2009, 03:49 AM
royUK Re: Declare global variable... 09-18-2009, 04:01 AM
pike Re: Declare global variable... 09-18-2009, 04:12 AM
Andy Pope Re: Declare global variable... 09-18-2009, 04:33 AM
suman.biswas Re: Declare global variable... 09-18-2009, 04:30 AM
  1. #1
    Registered User
    Join Date
    11-10-2008
    Location
    India
    Posts
    35

    Thumbs up Declare global variable in Application level

    Hi,
    I need to declare a global variable in Application level not Module level.
    I have declare a variable in Module1 and then Module2 with same name then complile it and get success. That means there has two variable with same name in different Module. I think this was not a proper global variable declaration by which I can allow to declare only one variable in all Module, Class every where. I have used code as below -

    Option Explicit
    Public MyID As Integer
    Thanks,
    Suman
    Last edited by suman.biswas; 09-18-2009 at 04:31 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1