Solved

VB6 - mouse hover does not show value of variable?

Posted on 2003-11-13
3
572 Views
Last Modified: 2008-03-17
Help!

I have just moved to a new PC and installed VB6 SP5. When a break point is hit, the program stops and shows the line it has stopped on. Then normally, I can hover over a variable with my mouse and the value will pop up.

What option do I set to make this happen?

Regards,

Leigh
0
Comment
Question by:LeighWardle
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
appari earned 250 total points
ID: 9744977
in VB IDE's Menu

tools->options

in the dialog's Editor tab check display Data Tips to on.
0
 

Expert Comment

by:bad_seed
ID: 9745064
is the variable whose value your after in scope?

the mouse hover only shows the value of variables currently in scope and as far as i know it's 'always on' so there is no option to turn it on/off that i could find at least.

however, if your still having problems get the immediate window up (Ctrl+G) if it is'nt already and type

?variablename

and the current value of the variable specified will be displayed in the immediate window.. keep in mind that variables out of scope do not exist on the stack so they dont have a value.
0
 

Expert Comment

by:bad_seed
ID: 9745071
lol there u go.. i never noticed that data tips option, should have been on by default though should'nt it?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…

912 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

16 Experts available now in Live!

Get 1:1 Help Now