Infographic : Giving the Trusted Windows PC its Own Spring Cleaning

Infographic - Giving the Trusted Windows PC its Own Spring Cleaning

In this infographic you will learn how to speed up, revive and clean up your Windows PC. You won't have to take your computer to a fancy computer wizard and shell out big bucks or give up your first born son. All you have to is sit down for an afternoon or evening and follow the steps in this infographic and look around your house for a couple of household objects to clean out some dust and you should be good.
  1. First we need to actually clean out the dust and grime.
  2. Then you just need to get everything up to date in your computer.
  3. Now it's time to get rid of unwanted applications and big files that you don't use anymore. 
  4. Go ahead and start reclaiming some space on your hard drive with the tools that Windows supplies: Disk Cleanup and Disk Defragmenter
  5. Organize your files.
  6. Now that everything is tidy, back it up.
Okay, that about covers it, but I'd like to leave you with one last suggestion. You can also buy a registry cleaner that will help you with this. It will schedule scans for you and do almost all of these functions for you, except the dishes and dusting of course!

Guest Author: Erin Walsh is the main blogger at PC Health Boost. She writes many articles on how to speed up and clean up pc errors. http://www.pchealthboost.com/clean_up_pc.php

How To Get The MD5 Hash Of A File In VB.NET

MD5 UPTUTORIALS
MD5 is a widely used cryptographic algorithm that produces a 128-BIT hash value. I think all the files you have in your computer has a unique md5 hash.. in some virus scanning process the files get identified easily with the hash value. Today we are going to make a simple application that will help you to get the md5 hash of any file.

Start a new project and do the traditions lol.. you must add a button, a label and a textbox.

user interface :)

You must add these namespaces before you could do any coding :

Imports System.Security.Cryptography
Imports System.IO
Imports System.Text

Here's the code for the application it's all under button click event.. I have explained the basic things by small comments.

  'creating the openfiledialog
        Dim Open As OpenFileDialog = New OpenFileDialog
        Open.Filter = "All Files (*.*)|*.*"
        If (Open.ShowDialog() = DialogResult.OK) Then TextBox1.Text = Open.FileName
        If Open.FileName = "" Then Exit Sub

        'accessing file & getting the hash
        Dim RD As FileStream = New FileStream(TextBox1.Text, FileMode.Open, FileAccess.Read, FileShare.Read, 8192)
        RD = New FileStream(TextBox1.Text, FileMode.Open, FileAccess.Read, FileShare.Read, 8192)
        Dim md5 As MD5CryptoServiceProvider = New MD5CryptoServiceProvider
        md5.ComputeHash(RD)
        RD.Close()

        'converting the bytes into string
        Dim hash As Byte() = md5.Hash
        Dim SB As StringBuilder = New StringBuilder
        Dim HB As Byte
        For Each HB In hash
            SB.Append(String.Format("{0:X1}", HB))
        Next
        LabelHash.Text = "MD5 : " & SB.ToString()

The usage is pretty easy all you have to do is select and load the file from the button and you will get the Md5 hash for the selected file in the Label.

How To Make A File Searcher And Display Results In A Listbox

Today I will teach you how to display files from your computer in a listbox. The code is very simple and is for beginners so lets get started! First open visual basic 2008 / 2010.
1. Create / open a project.

2. Add a Button and give it the text: "Search".

3. Also add a Textbox and a Listbox.

4. Now double click on the Button and type or copy the following code:
For Each File In My.Computer.FileSystem.GetFiles(My.Computer.FileSystem.SpecialDirectories.Desktop,
FileIO.SearchOption.SearchAllSubDirectories, Nothing)
              Dim foundFile As String =
              My.Computer.FileSystem.GetFileInfo(File).Name
              If foundFile.Contains(TextBox1.Text) Then
                      ListBox1.Items.Add(foundFile)
              End If
      Next