Developed or developing a new product in PureBasic? Tell the world about it.
Killswitch
Enthusiast
Posts: 731 Joined: Wed Apr 21, 2004 7:12 pm
Post
by Killswitch » Sun Sep 17, 2006 11:01 pm
I've built upon the code for my Desktop Monitor (see a few posts down) and I've created a fully-fledged System Monitor:
(I based the design layout off from this:
Torsmo )
It'll tell you the operating system you're using, total amount of RAM, used RAM, CPU usage (as well as history) as well as how many disk drives you've got and the total/free amount of space on them.
Pressing escape will close the program.
Binary:
Download .exe
Source:
Edit: Source requires PBOSL!
Source
Enjoy!
Last edited by
Killswitch on Mon Dec 11, 2006 11:42 pm, edited 4 times in total.
~I see one problem with your reasoning: the fact is thats not a chicken~
Joakim Christiansen
Addict
Posts: 2452 Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:
Post
by Joakim Christiansen » Sun Sep 17, 2006 11:13 pm
Looks quite nice, I will test this soon!
EDIT:
Why did it check my diskette drive?
Btw, it's very nice!
But you should really make a rightclick-menu with a always on top option and stuff...
And be able to chose the size (small or big) and the transparency.
And maybe make it stick to the edges!
I like logic, hence I dislike humans but love computers.
Intrigued
Enthusiast
Posts: 501 Joined: Thu Jun 02, 2005 3:55 am
Location: U.S.A.
Post
by Intrigued » Mon Sep 18, 2006 2:07 am
Joakim Christiansen wrote: Looks quite nice, I will test this soon!
EDIT:
Why did it check my diskette drive?
Btw, it's very nice!
But you should really make a rightclick-menu with a always on top option and stuff...
And be able to chose the size (small or big) and the transparency.
And maybe make it stick to the edges!
See his GUI, it shows information about the drives.
Nice job on this one!
Intrigued - Registered PureBasic, lifetime updates user
Killswitch
Enthusiast
Posts: 731 Joined: Wed Apr 21, 2004 7:12 pm
Post
by Killswitch » Mon Sep 18, 2006 9:26 am
That diskette thing is annoying - I'm not sure if there's anyway to get around it with the API though, I'll look into it.
~I see one problem with your reasoning: the fact is thats not a chicken~
Flype
Addict
Posts: 1542 Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy
Post
by Flype » Mon Sep 18, 2006 9:35 am
about the disk, i remember (not sure) about setting a system error level lower.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Killswitch
Enthusiast
Posts: 731 Joined: Wed Apr 21, 2004 7:12 pm
Post
by Killswitch » Mon Sep 18, 2006 2:31 pm
I've uploaded a new version (use links in my first post) which gets rid of the annoying diskette bug.
Enjoy!
Edit: Another new version - right click to enable/disable sticky window and I've optimised it a lot.
~I see one problem with your reasoning: the fact is thats not a chicken~
gnozal
PureBasic Expert
Posts: 4229 Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:
Post
by gnozal » Tue Sep 19, 2006 10:56 am
Thanks !
Just for information, it doesn't work on Win9x (missing function in kernel32.dll : GlobalMemoryStatusEx).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Killswitch
Enthusiast
Posts: 731 Joined: Wed Apr 21, 2004 7:12 pm
Post
by Killswitch » Tue Sep 19, 2006 4:58 pm
Nuts, I should've read the MSDN notes better - I'll look for something which'll let it run on 98
.
~I see one problem with your reasoning: the fact is thats not a chicken~
DarkDragon
Addict
Posts: 2345 Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:
Post
by DarkDragon » Tue Sep 19, 2006 5:11 pm
What's your logic like? First the CPU diagram adds at the right and when it arrived the whole thing adds new statusses at the left?
bye,
Daniel
Joakim Christiansen
Addict
Posts: 2452 Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:
Post
by Joakim Christiansen » Tue Sep 19, 2006 5:15 pm
DarkDragon wrote: What's your logic like? First the CPU diagram adds at the right and when it arrived the whole thing adds new statusses at the left?
Haha, yeah that was a little weird!
I like logic, hence I dislike humans but love computers.
Killswitch
Enthusiast
Posts: 731 Joined: Wed Apr 21, 2004 7:12 pm
Post
by Killswitch » Tue Sep 19, 2006 6:34 pm
DarkDragon wrote:
What's your logic like? First the CPU diagram adds at the right and when it arrived the whole thing adds new statusses at the left?
Haha, yeah that was a little weird!
It's a feature...
I've updated the program to address this problem
~I see one problem with your reasoning: the fact is thats not a chicken~