Detect OS And Take Advantage

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
14 posts Page 2 of 2
Contributors
Lewis
Coding God
Coding God
Posts: 1564
Joined: Sun Dec 20, 2009 2:12 pm

Re: Detect OS And Take Advantage
Lewis
Yes it was a typo.. Im not some secret microsoft agent using the new windows 8...
Image
User avatar
frozerlaxegon
Top Poster
Top Poster
Posts: 84
Joined: Thu May 13, 2010 4:38 pm

what if I wanted to detect both Vista / 7 to take advantage of, example,
Code: Select all
 If TextBox1.Text.Contains("Premium") Then
                Timer1.Stop()
                'display aero and taskbar jump lists.
I can't just estimate that because the OS have the word "Premium" means it's gonna support fully of what Im gonna throw at it.
Means that if it contains "Premium" but it's "Vista", then the program self thought that it's running on "Premium" and "7", and that, causes my program to crash and hurt my beta testers and my feelings cryer;
You've been RICKROLL'D
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: Detect OS And Take Advantage
Codex
what that code does first it checks if you are running windows 7 or vista and then what edition of windows 7/vista.
so for example, first check if the os is vista and then if it is then continue and call the os vista and then check what edition it is, for example Windows Vista Premium, but if it doesn't say vista, but it says 7 then its windows 7 premium...

Well it works, i have tested it... why don't you test it and see if it works

if i misunderstood you please explain more...

codexvid
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
User avatar
alex6848
VIP - Donator
VIP - Donator
Posts: 201
Joined: Sat Jan 16, 2010 10:26 pm

Re: Detect OS And Take Advantage
alex6848
sounds good!
Free Facebook Page Likes - http://fbliker.tk/?ref=gillis
14 posts Page 2 of 2
Return to “Tutorial Requests”