Another script to make Knowledge Base searches easier

By Mitch Tulloch  Add a new comment

Recently I posted a script you could use to quickly search the Microsoft Knowledge Base using Google. A number of readers indicated they appreciated this hack, so I decided to go one step further and create an HTML page you can save on your computer's hard drive and use to quickly google the KB.

Copy the following text into Notepad and save it as a file named GoogleKB.htm somewhere on your hard drive (I use a folder named C:\scripts for stuff like this):

<html>
<head>
<title>Google the Microsoft Knowledge Base</title>
<!-- Created by Mitch Tulloch, 2008. Version 1.0 -->
<!-- saved from url=(0014)about:internet -->
<script language="VBScript">
<!--
Sub Submit_OnClick
  Dim objForm, strKeyword, strURL
  Set objForm = Document.MyForm
  strKeyword = MyForm.Keywords.Value

  If Len(strKeyword)>0 Then
    strURL = "http://www.google.com/search?hl=en&q=" & strKeyword & _
      "+site%3Asupport.microsoft.com&meta="
    Window.navigate(strURL)
  End if
End Sub
-->
</script>
</head>
<body>
<H2>Google the Microsoft Knowledge Base</H2>
<form name="MyForm">
Enter keywords:
<input name="Keywords" type="TEXT" size="60">
<input name="Submit" type="BUTTON" value="Google it!">
</form>
</body>
</html>

Once you created the GoogleKB.htm file, double-click on it to open it in Internet Explorer and add it to your Favorites (or drag the URL from the Address Bar onto your Links toolbar which is what I prefer doing for URLs I use frequently).

Now whenever you want to search the KB for something, you can type your keywords (or phrases enclosed in quotes) into the textbox and click the "Google It!" button.

Enjoy!

ITworld LIVE

WindowsWhite Papers & Webcasts

White Paper

Windows Server 2008 R2 Learning Guide

This expert e-guide uncovers the most common questions that have surfaced with Windows Server 2008 R2. Learn details about this Microsoft operating system and discover the direct cost saving benefits IT departments can experience when making the switch.

White Paper

Windows Server 2008 R2 Learning Guide

This expert e-guide uncovers the most common questions that have surfaced with Windows Server 2008 R2. Learn details about this Microsoft operating system and discover the direct cost saving benefits IT departments can experience when making the switch.

White Paper

Microsoft Volume Licensing Reference Guide

This guide provides an overview of the key features of Microsoft Volume Licensing programs. The information is presented by organizational type and size-two of the most important keys to determining your best Volume Licensing option.

White Paper

HP Software Licensing & Management Solutions for Microsoft

See how HP Software Licensing & Management Solutions (SLMS) can help you identify the best Microsoft licensing program for your needs, get the most from your licensing agreement, and maximize your Microsoft software investment.

White Paper

Microsoft Open Value Program Guide

In this overview, see how Microsoft Open Value provides a flexible, affordable way for small to midsize organizations (i.e. those with five or more desktop PCs) to use and manage all their Microsoft licensed products under a single agreement.

See more White Papers | Webcasts

Ask a question

Ask a Question