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.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Yes it was a typo.. Im not some secret microsoft agent using the new windows 8...
what if I wanted to detect both Vista / 7 to take advantage of, example,
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;
Code: Select all
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. If TextBox1.Text.Contains("Premium") Then
Timer1.Stop()
'display aero and taskbar jump lists.
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
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
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
Copyright Information
Copyright © Codenstuff.com 2020 - 2023