473,804 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Immediate window?

Is there an Immediate window in vb.net 2003? If so, how do you bring it up?
Nov 20 '05 #1
11 11872
It's called the command window

View->Other Windows->Command
or
CTRL-ALT-A
"Mike" <mi*******@msn. com> wrote in message
news:e9******** ********@TK2MSF TNGP12.phx.gbl. ..
Is there an Immediate window in vb.net 2003? If so, how do you bring it up?

Nov 20 '05 #2
Thanks. How do you look at the value of a property of a control on a form?
In VB6, I would have typed:

? formname.contro lname.property

but this doesn't seem to work in vb.net
Nov 20 '05 #3
* "Mike" <mi*******@msn. com> scripsit:
Is there an Immediate window in vb.net 2003? If so, how do you bring it up?


See (complete thread):

<http://www.google.de/groups?selm=Ozy EKFjQDHA.560%40 TK2MSFTNGP10.ph x.gbl>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
* "Mike" <mi*******@msn. com> scripsit:
Thanks. How do you look at the value of a property of a control on a form?
In VB6, I would have typed:

? formname.contro lname.property

but this doesn't seem to work in vb.net


See my other reply.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #5
No mike that should work (you have to be paused at a breakpoint though)

?Me.Textbox.Tex t should work fine

Chris
"Mike" <mi*******@msn. com> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
Thanks. How do you look at the value of a property of a control on a form? In VB6, I would have typed:

? formname.contro lname.property

but this doesn't seem to work in vb.net

Nov 20 '05 #6
You could look at the locals window or set a watch on the control property
and watch it in the watch window.

"Mike" <mi*******@msn. com> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
Thanks. How do you look at the value of a property of a control on a form? In VB6, I would have typed:

? formname.contro lname.property

but this doesn't seem to work in vb.net

Nov 20 '05 #7
I am getting this:
? me.btncalculato rs.text

'Me' is valid only within an instance method.

My Locals window is empty and I don't see how to add a Watch (right-click on
Watch window doesn't show Add Watch option).

I am targeting the Compact Framework if that matters (PocketPC). I am in
[break] mode.
Nov 20 '05 #8
If Me is out of scope, it won't work. Me is also not available in shared
methods.

Also the command window can be toggled to go to immediate mode. Make sure
you are in immediate mode, not command mode. If I remember, you just type !
to flip to immediate mode.

--
Justin Weinberg

Designing a PrintDocument? Drawing to forms?
Check out GDI+ Architect at www.mrgsoft.com
"Mike" <mi*******@msn. com> wrote in message
news:eh******** ******@TK2MSFTN GP10.phx.gbl...
I am getting this:
? me.btncalculato rs.text

'Me' is valid only within an instance method.

My Locals window is empty and I don't see how to add a Watch (right-click on Watch window doesn't show Add Watch option).

I am targeting the Compact Framework if that matters (PocketPC). I am in
[break] mode.

Nov 20 '05 #9
I'm in immediate mode.

How do I get a reference to the form that is currently displayed?
Nov 20 '05 #10

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

Similar topics

2
2924
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 window than Immediate ' window.
2
12832
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
3437
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 I can find it. Also, is there a trick now to single step. I can't find that anywhere either. Thanks Russ Stevens
1
1338
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 no intellisense and it says object not found. I also have VS 2003 installed on this machine. What am I doing wrong? Thanks, DougS
2
3674
by: raqib.rafique | last post by:
The immediate window in Vs.NET is giving me problems when i use it with C#. Simple example is I have the following line of code in a function String MyString = "abc.doc"; Then I put a breakpoint on it, when i debug the application and it goes into that break, I goto immediate window and type ?MyString it shows abc.doc but when I want to test for something else like
5
5650
by: vul | last post by:
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...
2
2598
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 of ok but doesn't have intellisense. Documentation shows that editions above Express do have immediate windows. We've looked under Debug, View, and just about everywhere else. I don't see the Immediate window under View on my system either,...
6
2844
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 your cursor was somewhere in the middle of the text output, then there would be no scrolling. In VS2005, the Immediate Window scrolls regardless of where the cursor is which is very annoying. Sometimes you want to go back up in the window to...
4
3096
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 execute MsgBox(DateTime.Now.Kind)
0
9715
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10354
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9175
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7642
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6867
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5535
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3835
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.