How can I make Ms VS 2010 solution updates file extensions without excluding and re-including files

I was using Ms VS 2008, and I used to create a project called "new project" and include all cpp files I wish to run that e.g. I downloaded from internet, whenever I try a new cpp file, I make sure that I've changed all other files into txt or h files, compile and run it without problems.

when I turned to Ms VS 2010, I couldn't do this, instead I have to exclude files and re-include it in order to update its extension.
or click on files proprety, and choose an Item type, but this does't work fine as icons doesn't refresh.

Should I've to edit any options, or is there a better idea instead?
Topic archived. No new replies allowed.