Solved

See Global Varible in

Posted on 2002-03-17
5
256 Views
Last Modified: 2010-05-02
Hi Experts

How can i see (if i can) the Global Varible (All) thet in the project with "Watch Windows".
My problem that i don't know the names of all varible,
and i want to know all varible in project scope.

thanks.

alon.
0
Comment
Question by:Alon10009
  • 3
5 Comments
 
LVL 2

Expert Comment

by:nahumd
ID: 6876105
You can use the "object browser" to see that.
Pause the program, go to the visual basic environment, press right click and choose the object browser.
there you have all the global parameters, and additional things as well.
0
 
LVL 2

Expert Comment

by:nahumd
ID: 6876108
p.s.
you have all the global variables definitions there, but not their values.
Find out which variable you are looking for, press right click and choose "view definition", and then you can choose to add it to the watch window.
0
 

Author Comment

by:Alon10009
ID: 6876138
Yep, thanks But...

i have classes, and i want to see with "Watch Windows" like i can see all the forms, if a put 'Forms' in "Watch Windows" with the right Contect (All Modules), (All Procedures).
0
 
LVL 2

Accepted Solution

by:
nahumd earned 300 total points
ID: 6876152
The 'Forms' shows you the forms collection.
The forms collection is a collection that is maintained automatically by VB behind the scenes. If you want a similar collection to your classes and global variables, you will have to do it manually.
I dont know about a similar auto-updated collection that holds the global variables.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6876425
give a try to the Locals window (from the View menu).
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

822 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question