Archive for the ‘Uncategorized’ Category

All the Visual Studio color themes you will ever need

Monday, January 30th, 2012

Combining two great concepts in programming world – color themes and the StackOverflow engine, http://studiostyl.es gives you a one-stop place for all the nice Visual Studio color themes. No more searching “the ogl” for themes and typing them in manually into the settings window.

All the themes can be downloaded for all the latest versions of VS, however it is still not particularly user friendly to install them, at least not in VS2008. I hope their coders are at least a little bit ashamed, but hey, it’s not like this is the primary point of VS.

In VS2008, you just download the file, and in Options > Environment > Import And Export Settings point the “team settings file” to the file you’ve downloaded. If you already had a team setting file, I can’t really help you, but the settings are just an XML so you could easily migrate them into your personal settings file using your favorite text editor.

(Update: found it, it is much simpler to install those using Tools > Import And Export Settings.)

(Yet Another Update: here is where I took my theme needs before the studiostyl.es came along: http://www.hanselman.com/blog/VisualStudioProgrammerThemesGallery.aspx)

Some MS-lovin

Sunday, September 25th, 2011

Aah, good old MS api class for representing the “system enclosure”, ie, what type of computer you have. Except:

1
Other
2
Unknown
3
Desktop
4
Low Profile Desktop
5
Pizza Box
6
Mini Tower
7
Tower
8
Portable
9
Laptop
10
Notebook
11
Hand Held
12
Docking Station
13
All in One
14
Sub Notebook
15
Space-Saving
16
Lunch Box
17
Main System Chassis
18
Expansion Chassis
19
SubChassis …

Pizza Box!? Lunch box!?

“Missing good old 80es when you ran dos on a pizza box…

(as seen on http://msdn.microsoft.com/en-us/library/Aa394474 and http://stackoverflow.com/questions/2837152/how-can-i-tell-if-a-user-is-using-a-laptop