Monday, February 13, 2012

Visual Studio 2010 Keyboard Shortcuts (30+)

The Visual Studio 2010 integrated development environment (IDE) includes several pre-defined keyboard shortcut. Here is a list of more than 30 useful keyboard shortcuts that will make you a lot more productive.

Switching between Windows:
*. Ctrl+F6 – navigate between various panes that appear in the base code editing window.
*. Shift+Alt+Enter – full-screen mode at any time. In full-screen mode, only the active window is visible infull screen.
*. Alt+F6/Alt+Shift+F6 – move cursor away from the main editing section into docked windows like Properties, Help, Dynamic help, Server Explorer (if these windows are open).
*. F7 – Jump to Code Behind/Base Code editing window

*. Ctrl+Shift+V – cycle through the clipboard ring.
*. Ctrl+- (Ctrl + Hyphen) – similar with Internet Explorer,very easy to navigate from page to page.
*. Ctrl+Shift+- – cycles in the opposite direction.
*. Block Selection – press Alt and then select the area you want with your mouse.
*. Line No in Code – Tools>Options>Text Editor>All Languages>General>Line numbers.
*. Ctrl+] – matching brace/comment/region/quote
*. F4 – Property Window
*. Ctrl+Alt+L – Solution Explorer
*. Ctrl+Alt+O – Output Window
*. Ctrl+Alt+K – Task List
*. Ctrl+Shift+Space – intelligence window.
*. Ctrl+R – Word Wrap

Code Format:
*. Ctrl+K, Ctrl+F – Auto-format selection
*. Ctrl+U – Convert to lower case
*. Ctrl+Shift+U – Convert to upper case
*. Ctrl+K, Ctrl+C – Comment selection
*. Ctrl+K, Ctrl+U – Uncomment selection

Code Outline:
*. Ctrl+M, Ctrl+M – Fold/Unfold the current code block
*. Ctrl+M, Ctrl+L – Unfold all
*. Ctrl+M, Ctrl+P – Stop outlining
*. Ctrl+M, Ctrl+O – Fold all

*. F5 – Start Application in debug Mode
*. Ctrl+F5 – Start Without debugging
*. F11 – Step into
*. F10 – Step over
*. Shift + F11 – Step Out
*. Shift + F5 – Stop debugging
*. Ctrl+Shift+F5 – Restart Debugging

Protect your PC from Auto-Run Virus

If you want protect your PC and external devices from viruses, which spread via removable media, I found excellent software ' Antirun '.
Antirun has multiple feature such as automatic scanning, remove viruses, and system protection etc which enables security of your PC. I am going to tell you how to protect your PC from auto-run virus using ' Antirun '.
You just need to follow the following simple and easy steps.

*Step 1: Download ' Antirun ' and install it in your PC.

*Step 2: It will start automatically and whenever you plug-in any removable device. ' Antirun ' Window will appear.

*Step 3: Click on ‘Delete’ button.

It will remove your auto-run file from your removable device. I hope this handy tutorial helps you to protect your PC from auto-run viruses.
Share this tutorial within your social circle and do not forget to give us feedback.

Click to download Antirun

Friday, February 10, 2012

The future of Story Creator

A while ago we released a sample called Story Creator:

Video Story

It combines several technologies, such as Windows Phone, Windows Azure, WCF, and C++. It is a complete application that you can use and extend. But we're also aware of some limitations. For example, it is based on Windows Phone 7.0, not the latest Mango release. It doesn't offer too many features. However, do not worry. We don't stop here. We want to continue to improve it, and provide more features.
In this blog post, I'll outline several potential features that may come in a future release. Note I'm not promising anything here. This is just what we're trying to do.
The focuses on the next release are:
* Upgrade to Windows Phone 7.1
* Create a Windows 8 XAML version of the client application, using .NET (not C++)
* Create a Windows 8 HTML version of the client application
* Port the C++ native video encoding component (used in the worker role) to a custom WinRT component
* Add some new features, such as caption text for each photo, and secondary tiles integration with Windows Phone/Windows 8
* Fix bugs
* Refactor code
Starting from now, I'll try to write some blog posts about how we implement those new features. As soon as a sample application gets a little bigger, it is difficult to see how it works without documentations. These blog posts reflect the work I'm doing. But they may not directly reflect what the final sample application will be. In addition, I'm also learning. There're a lot of new technologies, and I think I still have a lot to learn aboutprogramming best practices. So bare with me if you see something that may not be a best practice. I'll be very appreciated if you can point out problems in these blog posts.
What's more, some of the blog posts may contain project attachments. These projects are NOT samples, but rather prototypes. Sometimes I'm unsure how to proceed to implement a certain feature, so I write prototypes before actually implementing it. The prototypes should in general work fine. But if you want to use them in your production code, you should check carefully to make sure they don't contain bugs, securityissues, and performance is fine.
Finally, I don't know how many blog posts I will be writing. After all, this sample is a side project. Usually I can only spend my spare time on it.
If you have any suggestions, feel free to leave comments on the blog posts.

Bring your idea to life - Turn it into an Application

Windows Phone 7.5 brings dozens of new platform features to Windows Phone.
When you have previously built an application for Windows Phone, you might ask yourself, " How do I take advantage of all these cool new features in my existing Windows Phone Application?"
Check out the full post from David Hernie: