Solved

VB6 - mouse hover does not show value of variable?

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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.
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…
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…

744 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

12 Experts available now in Live!

Get 1:1 Help Now