Solved

See Global Varible in

Posted on 2002-03-17
5
263 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

691 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