Solved

VB6 - mouse hover does not show value of variable?

Posted on 2003-11-13
3
583 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
[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
  • 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
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…
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…

726 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