Solved

VB6 - mouse hover does not show value of variable?

Posted on 2003-11-13
3
577 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

828 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