How to know what HTML5 tags can I use?

While working with HTML5, its quite common to get a doubt about what tags can we use and which tags are implemented/supported by which browsers. Isn’t it cool if we have a tool to provide tag name and get the supported browsers along with their versions? Such tool is Can I Use

caniuse.com is very handy tool to HTML5 developers to check the new tags based on the browsers they mainly target until HTML5 is finalized.

How to change default Visual Studio version

This is simple yet many developers face this problem. So thought to blog about it hoping that this will be helpful to someone.

Say you have multiple versions of Visual Studios’ installed in your system. Obviously, lastly installed version will be default one i.e., launched when you type ‘devenv’ in Run Command (Start -> Run -> Command). Here is a way to change it to version which you use most or want to be opened when you use devenv.

  1. Open Registry Editor  – Start -> Run -> Type ‘regedit’ (without quotes)
  2. Navigate to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows ->Currentversion -> App Paths -> devenv.exe
  3. Right-click on devenv.exe and click on Modify ( a dialog will be displayed where you can change the value of it)

Usually the value will be C:\Program Files (x86)\Microsoft Visual Studio x.x\Common7\IDE\devenv.exe

You have to replace that x.x to the version which you want.

Changing the default language in Visual Studio

You might have came across a situation where you set the default version of Visual Studio to some language mistakenly or you want to change it because of some reason. Here is the solution for it.
It might be looking silly. But for those who are in need. It mean a lot, I suppose.
There are two ways of doing this.
First:

  1. Choose Tools -> Import and Export Settings…
  2. Select Reset All Settings and click Next
  3. Select whether you would like to save the current settings (I would say not here) and click Next
  4. Select the settings you want to use(change the language to C#) and click Finish

But, this is not advisable if there are any environmental settings that are set in the VS. In this case, you can use the following approach.
Second:
Modifying CurrentSettings.vssettings file. This file can be found in My DocumentsVisual Studio xSettings directory.
Open CurrentSettings.vssettings in a text or XML editor, and search for DefaultProjectLanguage.
You can then change the value accordingly. Here are the two options for VB or C#.

<PropertyValuename="DefaultProjectLanguage">VB</PropertyValue>

<PropertyValuename="DefaultProjectLanguage">CSharp</PropertyValue>

Save the file, and once you open Visual Studio, you’re set.
Hope this helps!

    	
  1. Choose Tools -> Import and Export Settings...
  2. Select Reset All Settings and click Next
  3. Select whether you would like to save the current settings (I would say not here) and click Next
  4. Select the settings you want to use(change the language to C#) and click Finish

Prepare your Applications for Windows 7

We all have this question in our mind.

“Why does my application break when we change the Operating Systems?”

Typically, whenever a new OS is released, Microsoft makes every effort to ensure application Compatibility. Unfortunately, as the OS evolves and when reliability, security and performance improvements are made, there are some comprises which are made that ends up breaking some applications. Thankfully, when the changes are decided to be made, there is some mitigation planned to address the applications which are broken. Hence, Application Compatibility is one important which is on the top of everybody’s mind.

This series of posts covers information on how the core changes of Windows 7 will affect the applications. Also, it covers some basic methods to mitigate these issues from the viewpoint of Developers, IT Pros and End-users.

A key consideration when moving to Windows 7 is whether your applications will run successfully. Download the Microsoft Application Compatibility Toolkit (ACT) to access the necessary tools and documentation to evaluate and mitigate application compatibility issues before deploying Windows 7.