bugs >> auto data tips doesn't work while debugging

by avishai » Fri, 06 Jul 2007 01:53:43 GMT

Hello folks!

I just formatted my computer and installed XP SP2.
when I re-installed my vb6, I got an annoying problem. When I use
debugging mode (F8) I use to get any variables value just by move the
cursor on
it and now I don't have it anymore. Now I have to use the WATCH list
and of course it's much more clumsy. Is anybody know how to turn on
that var watch option?

p.s.
i checked and "tools", "options". In the editor page code settings,
"auto data tips" is on...



bugs >> auto data tips doesn't work while debugging

by MikeD » Fri, 06 Jul 2007 07:00:31 GMT






How many times are you going to ask this? Unless I'm losing my mind, that's
3 or 4 in that last day or 2..and all multiposted to different newsgroups.
You're not making things easier for anybody to help you when you do that.

The only thing different I'm noticing in THIS post is that you mentioned
data tips is checked. If you're still not getting data tips, then most
likely there's a syntax error SOMEWHERE in your code. If you've got Compile
on Demand checked, this may not get caught until you enter the procedure
with the syntax error. You should either always start with a full compile
(Ctrl+F5) or turn off both Compile on Demand and Background Compile.

And in the future, don't keep asking the question over and over. That's only
going to annoy people and then nobody will help you.

--
Mike
Microsoft MVP Visual Basic





bugs >> auto data tips doesn't work while debugging

by avishai » Fri, 06 Jul 2007 13:22:22 GMT


MikeD :





1. 10Q
2. sorry. usualy when you'r post gos down no one will answer it
anymore.
and i needed an answer.



auto data tips doesn't work while debugging

by Jan Hyde (VB MVP) » Fri, 06 Jul 2007 16:02:24 GMT

avishai < XXXX@XXXXX.COM >'s wild thoughts were
released on Thu, 05 Jul 2007 22:22:22 -0700 bearing the
following fruit:




This is a newsgroup although many questions get answered
quickly it may take a day or two. So be patient. If you
didn't get an answer it's probably because you multiposted.


https://mvp.support.microsoft.com/profile/Jan.Hyde


Similar Threads

1. My VB.NET Addin doesn't WORK/DEBUG/COMPILED

When i compiled, i received ERROR saying that

COM Interop registration failed. There are no registrable types in the built
assembly.


2. Debug stepping works - program running doesn't?

3. VB6 debug works program doesn't

Hello,

As this is relates to MoveNext command try to update current record before
you getting command "MoveNext".

Nikolay


4. Debug doesn't work anymore - Visual Basic/VB

5. Debug works fine - run doesn't!

I am using Word 97.

I have some code which was kindly provided by Harold Staff which I have 
manipulated a little.

When I debug it line by line it works fine and provides the document 
produced is as it should be.

When I run it, the document produced is wrong.

Does anyone know what the problem might be?

-- 
Mark

6. bin\debug version doesn't work but debug is fine? - VB.Net

7. Excel formula doesn't work when put in from VBA, but works when written in Excel

I have made vba-code that makes a formula to be pasted into one cell at the
time in Excel.

The vba-code:
 vAktivCelle = "J" & i
        vFormel = "=if(E" & i & "=0;if(((G" & i & "+H" & i &
")*Parametre!$E$5"
        vFormel = vFormel & "+G" & i & "+H" & i & "+I" & i & ")-F" & i &
"<0;0;"
        vFormel = vFormel & "(G" & i & "+H" & i & ")*Parametre!$E$5+G" & i &
"+H" & i & "+I" & i & "-F" & i & ");"
        vFormel = vFormel & "if(G" & i & "+H" & i & "+I" & i & "-F" & i &
"<0;0;"
        vFormel = vFormel & "if(E" & i & "=F" & i & ";0;G" & i & "+H" & i &
"+I" & i & "-F" & i & ")))"
        ActiveSheet.Range(vAktivCelle).Formula = vFormel

This generates this formula:
=if(E2=0;if(((G2+H2)*Parametre!$E$5+G2+H2+I2)-F2<0;0;(G2+H2)*Parametre!$E$5+G2+H2+I2-F2);if(G2+H2+I2-F2<0;0;if(E2=F2;0;G2+H2+I2-F2)))

When I run it - I get this error-message:
Run-time error '1004'
Application-defined or object-defines error

**************

But: if I remove the first "=", and vba just puts the text into the cells -
I can just go to the cell, write "=" in front of the text - and then IT
WORKS....!

Anyone got an idea about why it doesn't work when I put it in from vba?

Frank


8. Excel formula doesn't work when put in from VBA, but works when written in Excel