Solved

VB6 - mouse hover does not show value of variable?

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

730 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