Solved

See Global Varible in

Posted on 2002-03-17
5
254 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 69

Expert Comment

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now