"Take calculated risks. That is quite different from being rash." - George S. Patton   |    "The big secret in life is that there is no big secret. Whatever your goal, you can get there if you're willing to work." - Oprah Winfrey   |    "The more difficulties one has to encounter, within and without, the more significant and the higher in inspiration his life will be" - Horace Bushnell   |    "There is no such thing as luck; there is only adequate or inadequate preparation to cope with a statistical universe." - Robert Heinlein   |    "Success is the sum of small efforts, repeated day in and day out." - Robert Collier   |    "Our doubts are traitors, and make us lose the good we oft might win, by fearing to attempt." - William Shakespeare   |    "The talent of success is nothing more than doing what you can do, well." - Henry W. Longfellow   |    "We are still masters of our fate. We are still captains of our souls." - Winston Churchill   |    Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.   |    "Nothing great was ever achieved without enthusiasm." - Ralph Waldo Emerson   |    "If Java had true garbage collection, most programs would delete themselves upon execution." - Robert Sewell   |    "Good luck' follows careful preparation; 'bad luck' comes from sloppiness." - Robert Heinlein   |    "Nothing will ever be attempted if all possible objections must first be overcome." - Samuel Johnson   |    "Nothing can stop the man with the right mental attitude from achieving his goal; nothing on earth can help the man with the wrong mental attitude." - Thomas Jefferson   |    "Every artist was first an amateur." - Ralph Waldo Emerson   |    "We are what we repeatedly do. Excellence, therefore, is not an act but a habit." - Aristotle   |    "Perl - The only language that looks the same before and after RSA encryption." - Keith Bostic   |    "The more you learn, the more you need to learn." - Robert Heinlein   |   

Code Reactor

The best of modern Web development

Some MS-lovin

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

Leave a Reply

You must be logged in to post a comment.

loading...
Your connection appears to be too slow, automatically disabling HeavyAjax (TM) for better performance...
You seem to run a browser without JavaScript support or it has been disabled. To fully experience Code Reactor please enable JavaScript. (It is not 1995 anymore :)
You seem to be using Internet Explorer. If you want to experience both Code Reactor and the rest of the web to their fullest and fastest, you are advised to download and install a real browser, like Opera, Firefox or Google Chrome.
Close
You seem not only to use Internet Explorer, which is by far a joke when it comes to browsers, but to even use an old version of it!
If you want to experience both Code Reactor and the rest of the web to their fullest and fastest, you are STRONGLY advised to download and install a real browser, like Opera, Firefox or Google Chrome.
Close