Pages

Sunday, June 26, 2011

VS Shortcut Keys

No need to search Google for Visual Studio Shortcuts keys. You can get the Keyboard mappings by going to Tools –> Options –>Environment –> Keyboard.
ShortscutKeys
But there is an easy and well formatted way to get this. Some action has more than one shortcut key. Below is the Macro code for the same. Click here for details
   1:  Imports EnvDTE
   2:  Imports System.Diagnostics
   3:   
   4:  Public Module KeyboardShortcuts
   5:   
   6:      Sub ListKeyboardShortcuts()
   7:          Dim i As Integer
   8:          Dim j As Integer
   9:          Dim pane As OutputWindowPane = Utilities.GetOutputWindowPane("Commands")
  10:          Dim keys As System.Array
  11:   
  12:          pane.Clear()
  13:          pane.OutputString("<font face=arial>")
  14:          pane.OutputString("<table border=1 cellspacing=0 cellpadding=2 bgcolor=f0f0ff>" + Chr(10))
  15:          pane.OutputString("<tr><th colspan=2 bgcolor=d0d0e0>Keyboard Mappings</th></tr>" + Chr(10))
  16:          pane.OutputString("<tr><th bgcolor=e0e0f0>Action</th>")
  17:          pane.OutputString("<th bgcolor=e0e0f0>Key</th></tr>" + Chr(10))
  18:   
  19:          For i = 1 To DTE.Commands.Count
  20:              keys = DTE.Commands.Item(i).Bindings
  21:              If keys.Length > 0 Then
  22:                  pane.OutputString("<tr>")
  23:   
  24:                  'DTE.Commands.Item(i).Name() is sometimes blank.
  25:                  'We will print an m-dash in this case, as printing a blank table cell is visually
  26:                  'misleading, as such a cell has no borders, making it appear to be attached to
  27:                  'another cell.
  28:                  If DTE.Commands.Item(i).Name() <> "" Then
  29:                      pane.OutputString("<td valign=top>" + DTE.Commands.Item(i).Name())
  30:                  Else
  31:                      pane.OutputString("<td><center>&mdash;</center>")
  32:                  End If
  33:   
  34:                  pane.OutputString("</td><td>")
  35:                  For j = 0 To keys.Length - 1
  36:                      If j > 0 Then
  37:                          pane.OutputString("<br/>")
  38:                      End If
  39:                      pane.OutputString(keys(j))
  40:                  Next
  41:                  pane.OutputString("</td></tr>" + Chr(10))
  42:              End If
  43:          Next
  44:   
  45:          pane.OutputString("</table></font>")
  46:   
  47:      End Sub
  48:   
  49:  End Module


Run the Macro and copy the output and create a Html file. Below is my keyboard mapping for VS 2008:




Sunday, May 29, 2011

Books

Here is another page i have added to my blog.
Free EBooks From Microsoft Press


Programming Windows Phone 7 More Download Introducing Windows Server 2008 R2 More Download Moving to Microsoft Visual Studio 2010 More Download
Microsoft Virtualization Solutions More Download Microsoft SQL Server 2008 R2 More download Deploying Windows 7 More Download
First Look Microsoft Office 2010 More Download Own Your Future: update Your Skills More Download

 

Visit the Page

Sunday, May 8, 2011

Sites I have Bookmarked

1. Programmers need not to be an expert in typing but they need to know how to type.You should not see the keyboard always when you are typing. Now lets check some tips from RapidTyping. RapidTyping provides an online test to show your typing speed and instructions on this. Don’t' forget to check their games to speed-up your typing with fun. The best thing is you can download this software for free.  Here is another site TypingTest.
    rapidtyping
    picture source from: RapidTyping

    2. How Computers Boot Up? Click here to know.

    3. How Japan's Earthquake and Tsunami Warning Systems Work. here

    4. What is your children doing in Internet? What sites they usually surf?
        Age-based guidelines for kids' Internet use. Windows 7 has the feature to
        protect your kids. Know More.

    5. Let’s paly an url game (URL Hunter!). Click 

    6. When smart people are bad Employees

    And I always find, yeah, I always find somethin’ wrong
    You been puttin’ up with my sh#t just way too long
    I’m so gifted at findin’ what I don’t like the most
    So I think it’s time for us to have a toast
    Let’s have a toast for the douchebags,
    Let’s have a toast for the a@%holes,
    Let’s have a toast for the scumbags,
    Every one of them that I know
    Let’s have a toast for the jerkoffs
    That’ll never take work off
    Baby, I got a plan
    Run away fast as you can
    —Kanye West, Runaway  
     
    7. Anatomy of a phish. A good explanation of basics of phish detection and 
        prevention by Mike Loukides. Here

    8. It Flies! Da Vinci's Dream Comes True. Other videos and more here.
    Source: YouTube
    Other Posts:
    Wish You a Happy Mothers Day

      Saturday, April 30, 2011

      Free Videos From TrainingSpot.com

      Here are some Free Videos From TrainingSpot.com
      Joining Tables using INNER Joins
      Joining tables to find related data in your database is the true power of any relational database management system and SQL Server 2005. This video will show you the fundamentals of performing INNER JOINS and show you how to write them on your own. 

      Joining Tables using LEFT, RIGHT and FULL OUTER Joins
      This video will introduce you to OUTER JOINS and show you the differences between LEFT, RIGHT and FULL OUTER JOINS. You will see several examples and will understand which type of join is right for you in any situation.

      Using Aggregate Functions to Group Data
      Calculating an average or determining the sum of multiple records can be achieved by using the Aggregate functions provided with SQL Server 2005. This video will show you how to use the most common aggregate functions and explain to you when they can be used.

      Sunday, April 10, 2011

      Search Image using Image


      1. Generally we use keyword for searching images. Where TinEye has given the facility to the user to search images based on another image. The image can be uploaded from your computer or you can give url of that image.
      TinEye
      TinEye is the Reverse Image Search Engine and how it works:

      The plugin adds a right-click menu item that allows you to search for an image to find out where it came from, how it is being used, if modified versions of the image exist, or to find higher resolution versions.
      Download plugin for  Mozilla FireFox , Crome, IE & Safari

      2. Another search engine which do the same work as TinEye is Gazopa. Gazopa
      Here it showing how it works:


      Here are some similar web sites:
      Piximilar | Google Image Search | Altavista

      HOME

      Sunday, April 3, 2011

      Unforgettable Moments of ICC Cricket World Cup 2011

      The champions celebrate with the World Cup trophy
      The champions celebrate with the World Cup trophy
      Indian cricket fans celebrate their team's World Cup win on the streets of Kolkata
      Indian cricket fans celebrate their team's World Cup win on the streets of Kolkata
      Anil Kumble, who was part of four unsuccessful World Cup campaigns, is given a chance to hold the trophy
      Anil Kumble, who was part of four unsuccessful World Cup campaigns, is given a chance to hold the trophy

      Sunday, March 27, 2011

      Beauty of Web

      IE9 has really impressed a lot of users. This version of IE has lot of features compared to the previous versions. The use of CSS3, JQuery, and HTML5 in IE9 runs everything smoothly. I visited a site Beauty of Web where it has listed some amazing sites that are really beautiful. I am wondering what else is remaining to do in the thin client. Rich graphics and so responsive performance of IE9 is really great. To browse these sites you need IE9 or any other browsers that support HTML5 and CSS3. Some sites will take time to download its content (It depends upon your internet speed) so be patient. 

      1. Endlessmural
      Welcome to the Endless Mural. An interactive, collaborative art website built in HTML5. View
      image

      2. National Museum of China
      The National Museum of China has created an outstanding VR experience to display our finest art work while keeping load time to a minimum. HTML5 in Internet Explorer 9 is perfect for this: easy to develop with great flexibility, and thanks to the Internet Explorer 9’s all-around speed, even the 3D Javascript scenario runs flawlessly... Explore
      image

      Saturday, March 19, 2011

      Internet Explorer 9

      Here are some great features of IE9 which make it different from other browsers:
      Pin sites to the taskbar
      You can access websites that you visit regularly by pinning them to the taskbar on your Windows 7 desktop.
      Search in the Address bar
      You can now search directly from the Address bar. If you enter a website's address, you'll go directly to the website. If you enter a search term or incomplete address, you'll launch a search using the currently selected search engine. Click the address bar to select your search engine from the listed icons or to add new ones.

      Saturday, March 12, 2011

      Free Videos From LearnVisualStudio.NET

      You will get some free videos if you subscribe to Learnvisualstudio. You can also visit the site for more free videos. I have subscribed and got the following videos in my mail. There are lots of good videos in this site but you have to pay for this.  
      1.     Introduction to Anonymous Delegates
      After reviewing How to Create and Use Regular Delegates, this video explains the concept of creating anonymous delegates, when to use them and when not to, and explains the concept of closure for retrieving the state and scope of the anonymous delegate at instantiation for use upon its invocation. (Anonymous delegates are not available in Visual Basic 8.x or earlier.)

      2.     Introduction to Generics
      Generics allow you to create flexible data structures that are strongly typed. This video compares the System.Collections.ArrayList class versus its generic replacement, the System.Collections.Generic.List, explaining exactly why generics are the prefered way to add stability to your collections by catching situations where objects of the wrong type are being added to your collections at compile time.

      3.     Designing Relational Database Tables
      Why are relational databases the most popular? Differentiate between primary and foreign keys. Design relational database tables and learn about normalization rules and de-normalization.

      4.     Understanding Security and Network Connectivity
      Differentiate between database files and SQL Server processes. Explore scenarios for connecting to SQL Server Express databases, enabling and disabling user instances, login permissions, and other security precautions.

      5.     Introduction to Version Control in Visual Studio Team System: Branching
      Branching is a feature of Version Control that allows the development team to work on two distinct copies of the project at the same time. In this video we talk about scenarios where you would want to branch and how to do it from VSTS Version Control.

      6.     Introduction to Version Control in Visual Studio Team System: Workspaces
      A workspace is your client-side copy of the files and folders in the repository. When you add, edit, delete, move, rename, or otherwise manage any source-controlled item, your changes are persisted, or marked as pending changes, in the workspace. This video demonstrates the ins and outs of working with workspaces.

      7.     Introduction to Version Control in Visual Studio Team System: Diffing
      Diffing is the process of determining the differences between two files that were originally based on the same file and you want to merge the two source code files together back into one file. This video demonstrates how VSTS Version Control walks you through this process.

      8.     Object Oriented Programming Fundamentals - Part 1
      9.     Object Oriented Programming Fundamentals – Part 2

      HOME

      Salt - The Ultimate Female Action Hero The Social Network Due Date  Faster (2010)

      Sunday, March 6, 2011

      Most used Shortcut keys in Microsoft Outlook

      Using keyboard shortcuts allow you to work more efficiently. Remember, using the keyboard is nearly always faster than using the mouse. I always love to work with shortcut keys (everyone likes). I have found some shortcut keys form microsoft.  You cannot remember all the shortcut keys unless you use them. Microsoft always provides the same key combination for copy, paste, delete…..etc. so these are common for every application in windows. So here are some most used shortcut keys we use daily:


      Switch to MailCTRL+1
      Switch to CalendarCTRL+2
      Switch to ContactsCTRL+3
      Switch to TasksCTRL+4
      Switch to NotesCTRL+5
      Switch to Folder ListCTRL+6
      Switch to ShortcutsCTRL+7
      Next item (with item open)CTRL+COMMA
      Previous item (with item open)CTRL+PERIOD
      Collapse/expand a group in the e-mail message listLeft and right arrow keys
      AppointmentCTRL+SHIFT+A
      ContactCTRL+SHIFT+C
      Distribution listCTRL+SHIFT+L
      FaxCTRL+SHIFT+X
      FolderCTRL+SHIFT+E
      Journal entryCTRL+SHIFT+J
      Meeting requestCTRL+SHIFT+Q
      MessageCTRL+SHIFT+M
      NoteCTRL+SHIFT+N
      new Office documentCTRL+SHIFT+H
      Post in this folderCTRL+SHIFT+S
      Search FolderCTRL+SHIFT+P
      TaskCTRL+SHIFT+K
      Task requestCTRL+SHIFT+U

      With a group selected
      Expand the groupENTER or RIGHT ARROW
      Collapse the groupENTER or LEFT ARROW
      Select the previous groupUP ARROW
      Select the next groupDOWN ARROW
      Select the first groupHOME
      Select the last groupEND
      Collapses the groupNUM -
      Expands the groupNUM+
      ***********
      SaveCTRL+S or SHIFT+F12
      Save and Close, SendALT+S
      Save AsF12
      UndoCTRL+Z or ALT+BACKSPACE
      DeleteCTRL+D
      PrintCTRL+P
      Copy itemCTRL+SHIFT+Y
      Move itemCTRL+SHIFT+V
      Check namesCTRL+K (using the Outlook e-mail editor)
      Check spellingF7
      Flag for follow-upCTRL+SHIFT+G
      ForwardCTRL+F
      Find itemsF3 or CTRL+E
      Search for text in itemsF4
      ************
      Reply to a messageCTRL+R
      Reply all to a messageCTRL+SHIFT+R
      Mark a message as not junkCTRL+ ALT+J
      Display blocked external content (in a message)CTRL+SHIFT+I
      Post to a folderCTRL+ SHIFT+S
      Check for new mailCTRL+M or F9
      Go to the next messageUP ARROW
      Go to the previous messageDOWN ARROW
      Go to the row above (message or group heading)ALT+ UP ARROW
      Go to the row below (message or group heading)ALT+ DOWN ARROW
      Compose a new messageCTRL+N
      Open a received messageCTRL+O
      Display the Address BookCTRL+SHIFT+B

      For Calendar
      AcceptALT+C
      DeclineALT+D

      To format text
      Display the Format menuALT+O
      Switch case (with text selected)SHIFT+F3
      Add boldCTRL+B
      Add bulletsCTRL+SHIFT+L
      Add italicsCTRL+I
      Increase indentCTRL+T
      Decrease indentCTRL+SHIFT+T
      Left alignCTRL+L
      CenterCTRL+E
      UnderlineCRTL+U
      Increase font sizeCTRL+]
      Decrease font sizeCTRL+[
      CutCTRL+X or SHIFT+DELETE
      CopyCTRL+C or CTRL+INSERT
      PasteCTRL+V or SHIFT+INSERT
      Clear formattingCTRL+SHIFT+Z or CTRL+SPACEBAR