Solved

ASP.Net Command window

Posted on 2004-08-25
5
388 Views
Last Modified: 2013-11-25
I have a problem with my asp.net command window
it shows > instead of ?
and if i type anything it says the command is not valid.. I may have changed some settings ... I dont know whats wrong
Can anyone help me with this
Rukmini
0
Comment
Question by:yalamanchir
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 17

Expert Comment

by:AerosSaga
ID: 11894889
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 11894903
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 11894963
On that first link look in the same section there are two other sections that say command mode and immediate mode.  That is what happened.  The URL doesn't change for those two links or I'd post them, but thats what your talking about.

Regards,

Aeros
0
 
LVL 17

Accepted Solution

by:
AerosSaga earned 500 total points
ID: 11895012
The Immediate mode of the Command window is used for debugging purposes such as evaluating expressions, executing statements, printing variable values, and so forth. It allows you to enter expressions to be evaluated or executed by the development language during debugging. In some cases, you can change the value of variables. The Immediate mode now also supports Intellisense.

You can also temporarily issue Visual Studio .NET commands in Immediate mode. This can be useful if you are debugging an application and using Immediate mode to view or change the value of variables but still want to interact with the interactive development environment (IDE) using commands.

    Note   To issue a single Visual Studio .NET command while in Immediate mode, you must preface the command with a greater than sign (>). For example, to switch to Command mode from Immediate mode, you must preface the command with a greater than sign (>). To enter multiple commands, switch to Command mode.

Once in a project, the Command window can be opened in Immediate mode by pressing CTRL+ALT+I, or by choosing Immediate on the Windows submenu of the Debug menu. When the Command window is in Immediate mode, the title bar displays the text Command Window - Immediate.

In Command mode, statements separated by the equal sign (=) are evaluated as comparison operators. For example, if the value of variables a and b are different, then >? a = b returns a value of False. In Immediate mode, however, the statement a=b is evaluated as an assignment operation rather than a comparison operation. That is, a=b assigns the value of variable a to the value of variable b. You cannot use assignment operations in Command mode.

Unlike previous versions of the Immediate window, the UP ARROW and DOWN ARROW keys do not move the cursor to previous commands, but rather allow you to scroll through previously issued commands.
Task       Solution       Example
Temporarily enter Command mode while in Immediate mode (to execute a single command).       Enter the command, prefacing it with a greater than sign (>).       >alias
Switch to Command mode from Immediate mode.       Enter cmd into the window, prefacing it with a greater than sign (>).       >cmd
Switch back to Immediate mode from Command mode.       Enter immed into the window without the greater than sign (>).       immed
Evaluate an expression.       Preface the expression with a question mark (?).       ?a+b

    Note   Commands typed in Command mode are not prefaced by the greater than sign (>) because it is the command prompt in that mode. You must enter the greater than sign (>), however, when issuing Visual Studio .NET commands while in Immediate mode.

Mark Mode

Mark mode in the Command window allows you to select, copy, and paste text in it or to re-execute previous commands. Enter Mark mode by clicking on a previous line in the Command window (in either Command or Immediate mode), or by choosing Mark Mode from the context menu, or by pressing CTRL + SHIFT + M. Once in Mark mode, you can use either the context commands or their keyboard equivalents to cut, copy, paste, or clear text in the window.
See Also

Command Window | Command Mode, Command Window
0
 

Author Comment

by:yalamanchir
ID: 11895061
Thanks a million ... I couldnt figure out whats going on for the last couple of days
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 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