Thursday, October 20, 2011

Hardware Meter PsuedoCode

Start
Button CPU Clicked
      Show CPU Form
           Query WMI API for information regarding CPU.
           Print this information to labels. CPU name, brand, clock speed, cores, threads etc.
Button GPU Clicked
      Show GPU Form
           Query WMI API for information regarding GPU.
           Print this information to labels. GPU name, brand, clock speed, memory
Button Memory Clicked
      Show Memory Form
           Query WMI API for information regarding Memory.
           Print this information to labels. Memory amount, maybe speeds.
Button Motherboard Clicked
      Show Motherboard Form
           Query WMI API for information regarding Motherboard.
           Print this information to labels. Motherboard name, model, brand etc.
End

Scoreboard PsuedoCode

Start
Show Team Select from. Text boxes for team names
When button Team 1 Clicked
     Go to team 1 score, add batting and bowling figures
     On close add overs, wickets, maidens extras, runs from bowling and score from batting to variables.
When button Team 2 Clicked
     Go to team 2 score, add batting and bowling figures
     On close add overs, wickets, maidens extras, runs from bowling and score from batting to variables.
When button match results Clicked
     Go to match results. Determine winner and by how many runs.
     Print this information into text boxes.
End

Final Day

So today is the last day to submit our VB.NET programs. Today I had to touch up my meteor dodge game with a level select feature and a high score table that is saved when the game closes. The code for the high score table was taken from a very similar project and was modified slightly to work for my program. The game now has 3 different levels of difficulty and a scoreboard that attaches to it. I am happy with how the project finished up.

Friday, October 7, 2011

VB.NET Hardware Program

Alright yeap looks like I'll be using the WMI API as it has tonnes of information at my disposal. Processor speeds, models etc and the same for Graphics. I can also get Hard Drive information and Memory information and even motherboard information I think. And I've looked around and the easiest way to get this information is by using a varibale syaing what part of the API to look under, an Object Management variable and a variable to hold each of the pieces of information you want. Then you can print that information into text boxes. Sounds good to me

VB.NET Original Program

So I finally had an idea for an original program. A hardware information program. Original I know right? Anyway I'm taking a shot at doing it through reading the registry but I'm pretty sure there isn't muhc but some basic CPU information that I can get. I've been looking online and I've found that I might need to use the WMI API as that has tonnes of hardware information at my disposal. I will have tp try that tomorrow I guess.