FORUMS

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 … 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,766
 
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: 242
 
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: 566
 
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: 566
 
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,766
 
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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes