473,805 Members | 2,297 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Immediate Command

In VB6 I could enter an immediate command to, for example, determine the
value of a variable. Is there some why to do this in VB 2005? Something
like:

?sUserName

would return:

"Joe Blow"

Thanks,
Larry Rebich
Sep 3 '06 #1
7 1170
Larry Rebich wrote:
In VB6 I could enter an immediate command to, for example, determine the
value of a variable. Is there some why to do this in VB 2005? Something
like:
Menu option: Debug | Windows | Immediate

You can type in expressions in there.

-- Barry

--
http://barrkel.blogspot.com/
Sep 3 '06 #2
I'm sorry but the Windows under Debug are:

Breakpoints
Watch
Locals
Call Stack
Threads

in my web application.

I don't see an Immediate window!

Larry Rebich

"Barry Kelly" <ba***********@ gmail.comwrote in message
news:l8******** *************** *********@4ax.c om...
Larry Rebich wrote:
>In VB6 I could enter an immediate command to, for example, determine the
value of a variable. Is there some why to do this in VB 2005? Something
like:

Menu option: Debug | Windows | Immediate

You can type in expressions in there.

-- Barry

--
http://barrkel.blogspot.com/

Sep 3 '06 #3
Larry Rebich wrote:
I'm sorry but the Windows under Debug are:

Breakpoints
Watch
Locals
Call Stack
Threads

in my web application.

I don't see an Immediate window!
In VS 2005 Professional, for an ASP.NET VB application that is running
and paused at a breakpoint, there are the following menu items in the
Debug | Windows menu

---8<---
breakpoints
output
script explorer
-
watch >
autos
locals
immediate
-
call stack
threads
modules
processes
-
memory >
disassembly
registers
--->8---

I don't know the details for any other versions of VS 2005; you haven't
mentioned which version you are using.

-- Barry

--
http://barrkel.blogspot.com/
Sep 3 '06 #4
I'm using VB 2005 Standard Edition. Does it have an Immediate Window for
Asp.Net applications?

Larry

"Barry Kelly" <ba***********@ gmail.comwrote in message
news:lj******** *************** *********@4ax.c om...
Larry Rebich wrote:
>I'm sorry but the Windows under Debug are:

Breakpoints
Watch
Locals
Call Stack
Threads

in my web application.

I don't see an Immediate window!

In VS 2005 Professional, for an ASP.NET VB application that is running
and paused at a breakpoint, there are the following menu items in the
Debug | Windows menu

---8<---
breakpoints
output
script explorer
-
watch >
autos
locals
immediate
-
call stack
threads
modules
processes
-
memory >
disassembly
registers
--->8---

I don't know the details for any other versions of VS 2005; you haven't
mentioned which version you are using.

-- Barry

--
http://barrkel.blogspot.com/

Sep 4 '06 #5
Larry Rebich wrote:
I'm using VB 2005 Standard Edition. Does it have an Immediate Window for
Asp.Net applications?
Sorry, I don't have that.

-- Barry

--
http://barrkel.blogspot.com/
Sep 4 '06 #6
Note: In the Solution Explorer,

#1. Click on the 'Project' Then right click and go to Properties.
#2. Check 'Configuration Properties' If the configuration says
'Release' Debug and changing code and values is not allowed. Change this
to 'Debug' and it works just fine for me.
Sep 4 '06 #7
Larry,

Right click on the toolbar and click Customize. From there you can add
the Immediate menu item to the toolbar or the menu.

Brian

Larry Rebich wrote:
I'm sorry but the Windows under Debug are:

Breakpoints
Watch
Locals
Call Stack
Threads

in my web application.

I don't see an Immediate window!

Larry Rebich

"Barry Kelly" <ba***********@ gmail.comwrote in message
news:l8******** *************** *********@4ax.c om...
Larry Rebich wrote:
In VB6 I could enter an immediate command to, for example, determine the
value of a variable. Is there some why to do this in VB 2005? Something
like:
Menu option: Debug | Windows | Immediate

You can type in expressions in there.

-- Barry

--
http://barrkel.blogspot.com/
Sep 5 '06 #8

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

Similar topics

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
1740
by: Gunawan | last post by:
Hi, Usually I could type command such as ? "Hello" In immediate window but I can't do that anymore in C# 2005 Express IDE. If I want to perform such function, how can I do that? Regards, Gunawan
10
4666
by: walter | last post by:
Hi there, I'm totally lost on why command window in C# can not run this : ?intA.toString() It's simple ,right ? but IDE give me a error "error: 'intA.ToString' does not exist". I know there are two mode, and the question is not about this, also I feel very supprised that there are also some silimair questions posted with no answer at all.
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,...
3
6971
by: Rahul Babbar | last post by:
Hi, I have the following doubt. Suppose I use the execute immediate statement and the statement to be executed is a Select statement from the sysibm.sysdummy1 table which will always return me one row. Further, i need to capture the result of the execute Immediate into a
6
4443
by: Oliver | last post by:
I'm fairly new to DB2. I have been assigned to build a delete trigger that finds the data type of each of the table's fields so that the trigger can then build a string consisting of OLD values pre-wrapped in quote marks as needed. The deleted record's field values, all strung together as a single string, would then be inserted into a single archiving table (an architecture I inherited and cannot change). I've got the trigger doing...
4
2121
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 immediate command window that we used in VB 7. Thanks.
0
2252
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 immediate window does bring up a command window but we're looking for the immediate command window that we have used in VB 7. Thanks.
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10617
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10364
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10109
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7649
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
6876
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
5545
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
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3849
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.