System Manager

like Task Manager only Better

  • (2 Pages)
  • +
  • 1
  • 2

24 Replies - 1840 Views - Last Post: 09 October 2008 - 04:45 PM

#1 gbertoli3   User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 41
  • View blog
  • Posts: 1,166
  • Joined: 23-June 08

System Manager

Posted 05 October 2008 - 06:49 PM

Project: System Manager!
I started a new project about a week ago. I called it System Manager. System Manager is a Mini Version of Task Manager. So far I have 7 Tabs. Processes, Windows. Services, Users, and Miscellaneous. Hope to post the Source / App Soon!

Processes:
- View Processes
- View Username
- View Memory Usage(Kilobytes)
Windows:
- View Windows
- View Status(Responding / Not Responding)
Services:
- View Services
- ID
- Description
- Status
Users:
- View all Users
- View Status(Active / Inactive)
- Domain to which the user belongs to.
Drives:
- Letter
- Type
- Description
- Free Space
- Used Space
- Total Space
Drivers:
- Name
- Path
- Description
- Status
- Start Mode
Miscellaneous:
- RAM(Byte, Kilo, Mega, Giga)
- Screen(Width, Height, Resolution)
- System Properties(System Directory, Uptime, Machine Name, Username)
- Mouse Position(X, Y, Position)
- Running(Processes, Threads, Handles)
Menu Items
|File|
-New Process
-Kill Process
-Close
|View|
-Refresh
|Options|
-Run on Startup
-Top Most
|Help|
-About

Screenshots
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image

This post has been edited by gbertoli3: 05 October 2008 - 06:50 PM


Is This A Good Question/Topic? 0
  • +

Replies To: System Manager

#2 gbertoli3   User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 41
  • View blog
  • Posts: 1,166
  • Joined: 23-June 08

Re: System Manager

Posted 05 October 2008 - 07:15 PM

OK Here is the Release both Source & App

Source:
Attached File  System_Manager.zip (625.92K)
Number of downloads: 98

Application:
Attached File  System_Manager.zip (34.94K)
Number of downloads: 101
Was This Post Helpful? 0
  • +
  • -

#3 rudeboyco   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 51
  • Joined: 16-July 08

Re: System Manager

Posted 07 October 2008 - 01:37 PM

ok i would like to adapt this to my os Called fusionet24 bs. Can i and do you want to be in the development team.
Was This Post Helpful? 0
  • +
  • -

#4 gbertoli3   User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 41
  • View blog
  • Posts: 1,166
  • Joined: 23-June 08

Re: System Manager

Posted 07 October 2008 - 03:01 PM

Are you asking to use this in your Operating System?
Was This Post Helpful? 0
  • +
  • -

#5 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1433
  • View blog
  • Posts: 11,006
  • Joined: 06-February 08

Re: System Manager

Posted 07 October 2008 - 03:20 PM

Yeah, he is. You never actually mentioned that it's in C#.NET and therefore he most likely thinks it would run on a non-Windows OS.

EDIT:
Just downloaded it. This things actually pretty neat~ good job :^:

You set up an SF for it?

One thing, I'd quite like to see it with an auto-update, instead of having to refresh it manually.
Why not put it in a thread?
Was This Post Helpful? 0
  • +
  • -

#6 gbertoli3   User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 41
  • View blog
  • Posts: 1,166
  • Joined: 23-June 08

Re: System Manager

Posted 07 October 2008 - 03:29 PM

I suck at threads.
Can you give me an example of using a thread instead of a timer.

No I have not set up a sourceforge project

This post has been edited by gbertoli3: 07 October 2008 - 03:32 PM

Was This Post Helpful? 0
  • +
  • -

#7 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1433
  • View blog
  • Posts: 11,006
  • Joined: 06-February 08

Re: System Manager

Posted 07 October 2008 - 03:44 PM

Since you want to update a component in your UI, you'll have to use a delegate and invoke the method.

I always have to look at my code to get this right, but I'm gonna give it a go off the top of my head.

Something along the lines of:
public MainForm() {
    Thread thr = new Thread(new ThreadStart(Thread_Method));
}

void Thread_Method() {
    this.listBox1.Invoke(new updateListBoxCallBack(updateListBox));
}

public delegate void updateListBoxCallback();
public updateListBox() {
    // update it in here
}


EDIT: You might also find baavgai's JobQueue class useful~ I use it more than threads. Check the C# snippets. :)
Was This Post Helpful? 0
  • +
  • -

#8 gbertoli3   User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 41
  • View blog
  • Posts: 1,166
  • Joined: 23-June 08

Re: System Manager

Posted 07 October 2008 - 03:45 PM

OK Thanks but how does it know to update the listview?
Was This Post Helpful? 0
  • +
  • -

#9 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1433
  • View blog
  • Posts: 11,006
  • Joined: 06-February 08

Re: System Manager

Posted 07 October 2008 - 03:52 PM

This is similar to what I do in both my main applications:
// since you're checking if it already exists, let's store the contents of the listbox in an array.
String [] current; // contains the current contents of your listbox
String [] temp; // stores the NOW contents of what's going on
// (use to determine whether it's different to the current contents)
// it's up to you to populate it, just loop through your listbox. (I'll show you where)

public MainForm() {
    Thread thr = new Thread(new ThreadStart(Thread_Method));
    // populate current with the contents of your listbox, after it's been filled for the first time
}

void Thread_Method() {
    // run a check to get all the NOW events
    // pseudocode:
    if (current != temp) // if it's changed, then we should update it
        this.listBox1.Invoke(new updateListBoxCallBack(updateListBox));
}

public delegate void updateListBoxCallback();
public updateListBox() {
    // update it in here
}


EDIT:
Oh yah, BTW, in cays ur wundrin:
X-Twitter uses a thread to check if there's been an update, if there has, it adds it to the friend updates panel
The Snippet Manager uses the same principal to check for updates for the Clipboard Log.

:)
Was This Post Helpful? 0
  • +
  • -

#10 gbertoli3   User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 41
  • View blog
  • Posts: 1,166
  • Joined: 23-June 08

Re: System Manager

Posted 07 October 2008 - 03:56 PM

OK I get it but in the updateListBox() it says it needs to return type. What do I use to return besides the return statement.
Was This Post Helpful? 0
  • +
  • -

#11 rudeboyco   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 51
  • Joined: 16-July 08

Re: System Manager

Posted 07 October 2008 - 03:58 PM

oh bummer is there a chance me and you could make a copy for my os
Was This Post Helpful? 0
  • +
  • -

#12 gbertoli3   User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 41
  • View blog
  • Posts: 1,166
  • Joined: 23-June 08

Re: System Manager

Posted 07 October 2008 - 04:00 PM

@rudeboyco:
What Language would you like it in?

This post has been edited by gbertoli3: 07 October 2008 - 04:00 PM

Was This Post Helpful? 0
  • +
  • -

#13 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1433
  • View blog
  • Posts: 11,006
  • Joined: 06-February 08

Re: System Manager

Posted 07 October 2008 - 04:01 PM

DAMMIT my connection went while I tried posting and I lost it.

I only missed the void keyword. My bad.

And if that works, I'll be happy. I wrote it in the fast reply box right here. B)
Was This Post Helpful? 0
  • +
  • -

#14 gbertoli3   User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 41
  • View blog
  • Posts: 1,166
  • Joined: 23-June 08

Re: System Manager

Posted 07 October 2008 - 04:07 PM

OK Thanks
Was This Post Helpful? 0
  • +
  • -

#15 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1433
  • View blog
  • Posts: 11,006
  • Joined: 06-February 08

Re: System Manager

Posted 07 October 2008 - 04:11 PM

Did that help? :wink:

(Or haven't you used it?)
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2