Detect OS And Take Advantage
Posted: Sat Jul 31, 2010 3:04 pm
Introducing to my problem :
Hi, I know the title is strange but whatever, ok, here's my problem.
I'm trying to take advantage of the Windows Vista / 7 Aero, which I already had.
But, I trying to make my program compatible with Xp, which doesn't have Aero as you guys know.
Also, users can disable the Aero just like changing the theme in Windows 7(Basic Style, Aero Style)
And, Windows 7 Basic doesn't have Aero.
Asking for help :
So, I wanted to know how to detect the user's OS and determine which part should it take advantage of, here's a list of things I would like to do if the code really EXISTS :
Windows Xp : No special effects, at the same time, program won't crash or any errors.
Windows Vista : Aero on entire form and selected parts, no jumplists, buttons, cover art, at the same time, no errors or crash.
Windows 7 Starter / Basic : None
Windows 7 Home Premium / Professional / Ultimate : Aero on entire form, jump lists, buttons on taskbar(like Windows Media Player), album cover art as preview on taskbar.
Note, I've already got the codes for the above list of things I want, but I still need the code for determining the OS and take advantage.
This Has Been Done Before On programs such as Paint.NET(Written in C#), and it won't crash or have any errors while on xp and take advantage of Windows Vista / 7's Aero, Jumplists, etc.)
So, Show Me How!
Hi, I know the title is strange but whatever, ok, here's my problem.
I'm trying to take advantage of the Windows Vista / 7 Aero, which I already had.
But, I trying to make my program compatible with Xp, which doesn't have Aero as you guys know.
Also, users can disable the Aero just like changing the theme in Windows 7(Basic Style, Aero Style)
And, Windows 7 Basic doesn't have Aero.
Asking for help :
So, I wanted to know how to detect the user's OS and determine which part should it take advantage of, here's a list of things I would like to do if the code really EXISTS :
Windows Xp : No special effects, at the same time, program won't crash or any errors.
Windows Vista : Aero on entire form and selected parts, no jumplists, buttons, cover art, at the same time, no errors or crash.
Windows 7 Starter / Basic : None
Windows 7 Home Premium / Professional / Ultimate : Aero on entire form, jump lists, buttons on taskbar(like Windows Media Player), album cover art as preview on taskbar.
Note, I've already got the codes for the above list of things I want, but I still need the code for determining the OS and take advantage.
This Has Been Done Before On programs such as Paint.NET(Written in C#), and it won't crash or have any errors while on xp and take advantage of Windows Vista / 7's Aero, Jumplists, etc.)
So, Show Me How!