473,320 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Immediate window

vul
In VB6 I used to use Immediate Window to get or change values of variables.
It is very convenient while debugging. I used drag and drop operation to
paste the variable name into Immediate Window. In VB 2005 this approach
either doesn't work or I need to do it some different way. Of course VB 2005
environment allows to see values right in the code window, but it's true
only for not too long strings. With a long string I still need Immediate
Window.
How does it work now?
Or there is no more drag and drop for this window?

Thank you
Al
Sep 12 '06 #1
5 5602

vul wrote:
In VB6 I used to use Immediate Window to get or change values of variables.
It is very convenient while debugging. I used drag and drop operation to
paste the variable name into Immediate Window. In VB 2005 this approach
either doesn't work or I need to do it some different way. Of course VB 2005
environment allows to see values right in the code window, but it's true
only for not too long strings. With a long string I still need Immediate
Window.
How does it work now?
Or there is no more drag and drop for this window?

Thank you
Al
Add the variable to the watch window. Then you can change its value
during debugging.

Sep 12 '06 #2
vul
Thank you Chris.
I know that way, but still want to use what I like in VB6.
Watch Window doesn't replace Immediate Window. For instance I'm walking
through my code and with Immediate Window (in VB6) I can quickly drag and
drop any variable I suspect. I do not need to remember them after I saw
their values, or changed the value. With Watch I need to add variables,
delete them etc.
My question is just if it's possible to use Immediate Window the way it was
used in VB6 (drag/drop). It allows to paste the variable into it, but no
drag/drop.

Al

"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@d34g2000cwd.googlegr oups.com...
>
vul wrote:
>In VB6 I used to use Immediate Window to get or change values of
variables.
It is very convenient while debugging. I used drag and drop operation to
paste the variable name into Immediate Window. In VB 2005 this approach
either doesn't work or I need to do it some different way. Of course VB
2005
environment allows to see values right in the code window, but it's true
only for not too long strings. With a long string I still need Immediate
Window.
How does it work now?
Or there is no more drag and drop for this window?

Thank you
Al

Add the variable to the watch window. Then you can change its value
during debugging.

Sep 12 '06 #3
vul wrote:
With a long string I still need Immediate Window.
I know it's not quite what you're asking for, but if you hover over a string
variable so that the value tooltip appears, and then click the little
magnifying glass icon next to the value, it'll open a pop-up window with the
full content of the string in it. Personally I find this substantially more
useful then printing the value into the immediate window in most cases.

If you click the little drop-down arrow next to the magnifying glass, you
can choose to view the string as HTML or XML too.

--

(O)enone
Sep 12 '06 #4
vul
Thank you Oenone.
Either it requires some changes in settings or some other things, but after
I hover over a string, I get tool tip only, no magnifying glass, no little
drop down error. Toll tip shows the string if it's short in length,
otherwise it appears truncated. Just due to this limitation I was looking
for an approach to use drag/drop

Al

"Oenone" <oe****@nowhere.comwrote in message
news:fS****************@newsfe3-win.ntli.net...
vul wrote:
>With a long string I still need Immediate Window.

I know it's not quite what you're asking for, but if you hover over a
string variable so that the value tooltip appears, and then click the
little magnifying glass icon next to the value, it'll open a pop-up window
with the full content of the string in it. Personally I find this
substantially more useful then printing the value into the immediate
window in most cases.

If you click the little drop-down arrow next to the magnifying glass, you
can choose to view the string as HTML or XML too.

--

(O)enone

Sep 12 '06 #5
Am I just being a bit presumptious here, or have you all missed
something?!?!
I've got an Immediate Window in VS 2005 that I've been using for months!!

Admittedly, it was a challenge to remember how I opened it... since it's not
on the default menus.
Open the Command Window (View menu --Other Windows --Command Window),
then just type Immed and press enter in that window.
The Immediate Window pops up - or at least it does on my work machine, my
home machine and my laptop :D
All running Professional edition - that might make a difference.
_________________________________
The Grim Reaper

"vul" <aa*@optonline.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
In VB6 I used to use Immediate Window to get or change values of
variables. It is very convenient while debugging. I used drag and drop
operation to paste the variable name into Immediate Window. In VB 2005
this approach either doesn't work or I need to do it some different way.
Of course VB 2005 environment allows to see values right in the code
window, but it's true only for not too long strings. With a long string I
still need Immediate Window.
How does it work now?
Or there is no more drag and drop for this window?

Thank you
Al

Sep 13 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dave | last post by:
I'm getting different results when I display a value in the Output window as opposed to the Immediate window. Why? Code to recreate problem: 'Purpose: Get different results from Output...
2
by: Jon Davis | last post by:
How do I get the Immediate window back? It seems to be gone. Command window doesn't work. "View" menu items don't seem to show it Jon
3
by: Russell Stevens | last post by:
Can anyone tell me how to get to the immediate window in VS2005. The help file says (when debugging) to click Debug, Windows, Immediate. There is no Immediate window listed there, nor anywhere else...
1
by: DougS | last post by:
When I'm debugging an ASP 2.0 application and I'm trying to use the immediate window to interrogate some classes I cant reference anything in my code. When I type ?dvClient.Rows.Count it gives me...
2
by: dgk | last post by:
Using VS2005 Standard Edtion, I have an Immediate window during ASP debugging. My co-worker, using VS2005 Team Edtion does not have an Immediate window. He does have a Command window, which is sort...
6
by: Frank Rizzo | last post by:
I am using the Immediate Window a lot to see the progress of the application. In VS2003, if your cursor was at the very bottom, the window would scroll down whenever something new showed up. If...
4
by: Armin Zingler | last post by:
Hi, I feel fooled.. In the immediate window, if I enter ? DateTime.Now.Kind I get "Unspecified {0}". The result - I expected "local" - lead to some time consuming deliberations. Today, I...
4
by: mgfine | last post by:
We're new to using VB 9 and we cannot invoke an immediate command window from an immediate window. Typing >cmd in the immediate window does bring up a command window but we're looking for the...
0
by: mgfine | last post by:
This question was first posted in the VB forum: We're new to using VB 9 (Visual Studio.Net 2007) and we cannot invoke an immediate command window from an immediate window. Typing >cmd in the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.