FORUMS

OnePlus 2 Bares All in New Tear Down Gallery

Last year, the launch of the OnePlus One, dubbed ‘the flagship killer’, visibly … more

Focus – An Attractive But Raw Gallery Replacement

Focus is an attractive new app built by XDA members Liam Spradlin … more

How to Root the LG G4 and Install TWRP Recovery – XDA TV

A rooting method has finally been found for the flagship LG G4. In this … more

New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more
Post Reply Subscribe to Thread Email Thread
Hello guys,

today I created a small program which detects most information of your CPU.

The program is called 'DetectCPU' and it does what it says.

This is what the app looked like:



This is How DetectCPU looks in v2!









The program is licensed under the GPL3.0.

This program is written in Visual Basic(.Net) 2012 for Windows Desktop.


Check the source code out, over at my GitHub: https://github.com/Beatsleigher/DetectCPU
Feel free to add your own commits, pull your own copies and distribute!
I shall now start work on another project, relating to Windows (Yes, also open source!)

Download DetectCPU from Sourceforge!: https://sourceforge.net/projects/det...?source=navbar

Changelog:


Code:
Changelog for 'DetectCPU'

Version 1.0.0.0
Re-arranged labels and removed duplicate queries.
Added status strip:
 - Live CPU usage
 - Live RAM usage
 
 Version 1.0.0.1
 Removed performanceCounters (Too buggy when using on different system w/ different system languages.
 Set the framework down to .Net 3.5
 01:11 26.05.2013
 
 Version 1.0.0.2
 Added standard icon
 13:20 26.05.2013
 Reduced framework to .Net 2.0
 13:23 26.05.2013
 Added Try-Statements to all code blocks at beginning.
 Should fix issue that program is not showing half of the information.
 14:43 26.05.2013


What's Changed in v2
Quote:

New and improved UI!
Now uses my own SysLib!
Added donate buttons!
Gets more information!
Finally has a load screen

What Hasn't Changed in v2
Quote:

Same icon
Same name
Same license
Same ol' badass program

Have fun using the new and improved DetectCPU!
Be sure to leave a review below for others to see!
Leave any suggestions below!

Thanks for using DetectCPU!
Last edited by Beatsleigher; 8th October 2013 at 02:11 AM.
The Following 9 Users Say Thank You to Beatsleigher For This Useful Post: [ View ]
 
 
25th May 2013, 11:02 AM |#2  
m11kkaa's Avatar
Recognized Contributor
Thanks Meter: 1,808
 
Donate to Me
More
nice concept...but VB? :P
I would advice use C# or C++ and then try to make it platform independent so we can build something like CPU-Z for all operating systems.

For platform independent UI we could use QT or wxWidgets.(if c++ would be the choise)
Last edited by m11kkaa; 25th May 2013 at 11:17 AM.
25th May 2013, 11:41 AM |#3  
Senior Member
Thanks Meter: 14
 
More
Quote:
Originally Posted by m11kkaa

nice concept...but VB? :P
I would advice use C# or C++ and then try to make it platform independent so we can build something like CPU-Z for all operating systems.

For platform independent UI we could use QT or wxWidgets.(if c++ would be the choise)

From the look of it, this uses WMI to talk to Windows to collect its data. This isn't a very portable solution at all, so don't get your hopes up about this working on other platforms, VB or not.
25th May 2013, 12:37 PM |#4  
kundancool's Avatar
Senior Member
Thanks Meter: 271
 
Donate to Me
More
I like the concept. Nice share
25th May 2013, 12:49 PM |#5  
jwoegerbauer's Avatar
Senior Member
Bavaria (Germany)
Thanks Meter: 206
 
More
Quote:
Originally Posted by Beatsleigher

Hello guys,

today I created a small program which detects most information of your CPU.

The program is called 'DetectCPU' and it does what it says.


I hope this helps someone in their developing.

Does your app work on mobile devices too? I ask this because the screenshot you provided relates to a Win32 machine.
25th May 2013, 12:52 PM |#6  
Beatsleigher's Avatar
OP Senior Member
Flag County of Osnabrück, Lower Saxony, Germany
Thanks Meter: 568
 
Donate to Me
More
Quote:
Originally Posted by jwoegerbauer

Does your app work on mobile devices too? I ask this because the screenshot you provided relates to a Win32 machine.

As far as I'm aware, it should.

CyanogenModded Very China-like, from my Samsung Galaxy S III

LG Familyguy59/Beatsleigher
25th May 2013, 12:57 PM |#7  
Beatsleigher's Avatar
OP Senior Member
Flag County of Osnabrück, Lower Saxony, Germany
Thanks Meter: 568
 
Donate to Me
More
Quote:
Originally Posted by m11kkaa

nice concept...but VB? :P
I would advice use C# or C++ and then try to make it platform independent so we can build something like CPU-Z for all operating systems.

For platform independent UI we could use QT or wxWidgets.(if c++ would be the choise)

Yes, VB.
Comparing C# with VB is stupid, as they are both almost impossible to differentiate, the only real difference between the two, is that C# uses the C-Syntax.
I am already working on a mono-compatible solution, but as it uses WMI (Which is the simplest way to get as low-level as this) it is quite the task, but it's not impossible. I'll add it to my GitHub today.

CyanogenModded Very China-like, from my Samsung Galaxy S III

LG Familyguy59/Beatsleigher
25th May 2013, 01:14 PM |#8  
m11kkaa's Avatar
Recognized Contributor
Thanks Meter: 1,808
 
Donate to Me
More
Quote:
Originally Posted by Beatsleigher

Yes, VB.
Comparing C# with VB is stupid, as they are both almost impossible to differentiate, the only real difference between the two, is that C# uses the C-Syntax.
I am already working on a mono-compatible solution, but as it uses WMI (Which is the simplest way to get as low-level as this) it is quite the task, but it's not impossible. I'll add it to my GitHub today.

CyanogenModded Very China-like, from my Samsung Galaxy S III

LG Familyguy59/Beatsleigher

That shouldn't be a problem. We can use wrapper-classes/methods(if u aren't doing it already) and then use other ways to read thoses information on unix systems.
25th May 2013, 01:23 PM |#9  
Kreshnik's Avatar
Member
Thanks Meter: 8
 
More
Looks very interesting...could you upload the little program? I dont have VB here atm, but I would like to use the prog
25th May 2013, 02:54 PM |#10  
Senior Member
Flag Cambridge
Thanks Meter: 238
 
More
Came here via the XDA portal!

Looks like a potentially useful program, however I would recommend removing all the "CPU"s from the list headers. All the information is about the CPU by design, and every list item starts with "CPU" so it looks a bit odd and is probably unnecessary as-is...

Just a suggestion
25th May 2013, 04:38 PM |#11  
Senior Member
Thanks Meter: 325
 
More
Quote:
Originally Posted by Beatsleigher

Yes, VB.
Comparing C# with VB is stupid, as they are both almost impossible to differentiate, the only real difference between the two, is that C# uses the C-Syntax.r

That would purely depend on whether or not you are referring to VB.net. VB alone does not refer to the .net version of the language (which is what is being used here anyway) and is often used to refer to the older VB6 (or even older 5 etc) which has zero relation to C# or .net.

For some reason unknown Vb.net does seem to be slower than C# for most benchmarks. I would assume that it is because C# is microsofts preferred choice and that they spend more time developing the compiler or something. Either that or VB.net is doing some weirdness under the hood. Here is one of many examples online: http://www.techrepublic.com/article/...rmance/1027686 C# and VB.net should be the same there, but they aren't.





But yes. Assuming VB.net (like your program) and ignoring whatever weirdness is going on with my previous point. Only difference is pretty much that C# has a C style syntax and VB.net does not.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes