Solved

ASP.Net Command window

Posted on 2004-08-25
5
346 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now