Good Afternoon,
I am working on my Senior project and we have decided to create a utility to monitor servers on a network from a single location. We decided to use VB.Net because it is somewhat simple to pull up CPU, Hard Drive, Memory, Network, etc. information using the System.Diagnostics.PerformanceCounter objects.
We are able to retrieve the information we need but unfortunately our program isn't very re-usable right now.
The interface should consist of a tabControl for each server. This tabcontrol contains an overview tab, then several other tabs with more in-depth information about each aspect of the computer CPU, Memory...etc.
I am trying to take this tabControl and all of it's text boxes, progress bars, labels, etc. and turn it into a single object that I can create as many instances of as needed. The only argument needed for each new object is a string argument which would be the name of the computer I am trying to get information about (it would be used in the .MachineName attribute of the PerformanceCounter object).
I looked around here and found someone mentioning to use a user defined control. I created that but it looks like an entire project and I don't know how to import it as a single neat control into my new project.
So to sum it all up I need to make a class that has all of the controls, etc. that I will need so that on my main form load I can say for each IP address/computer name/etc. create a new instance of this class and feed it the machinename as a string argument. The controls should then begin populating the main form until all of the computer names have been read.
any help would be greatly appreciated!
I am working on my Senior project and we have decided to create a utility to monitor servers on a network from a single location. We decided to use VB.Net because it is somewhat simple to pull up CPU, Hard Drive, Memory, Network, etc. information using the System.Diagnostics.PerformanceCounter objects.
We are able to retrieve the information we need but unfortunately our program isn't very re-usable right now.
The interface should consist of a tabControl for each server. This tabcontrol contains an overview tab, then several other tabs with more in-depth information about each aspect of the computer CPU, Memory...etc.
I am trying to take this tabControl and all of it's text boxes, progress bars, labels, etc. and turn it into a single object that I can create as many instances of as needed. The only argument needed for each new object is a string argument which would be the name of the computer I am trying to get information about (it would be used in the .MachineName attribute of the PerformanceCounter object).
I looked around here and found someone mentioning to use a user defined control. I created that but it looks like an entire project and I don't know how to import it as a single neat control into my new project.
So to sum it all up I need to make a class that has all of the controls, etc. that I will need so that on my main form load I can say for each IP address/computer name/etc. create a new instance of this class and feed it the machinename as a string argument. The controls should then begin populating the main form until all of the computer names have been read.
any help would be greatly appreciated!