Skip to Content
Yahoo! Hacks
book

Yahoo! Hacks

by Paul Bausch
October 2005
Intermediate to advanced
489 pages
12h 2m
English
O'Reilly Media, Inc.
Content preview from Yahoo! Hacks

Program Yahoo! with VBScript

Build Yahoo! searches into Windows programs or ASP pages with VBScript.

VBScript is a general-purpose scripting language for Windows, and it gets its name from Visual Basic, its big brother of a programming language. With a few tweaks here and there, the code in this hack could add Yahoo! searching to Office applications or an ASP-powered web page. This hack is written to run as a Microsoft Windows Script and it provides just the basics for building a Yahoo! Search query and presenting the results.

Microsoft Windows Script is built into the fabric of the Windows operating system and is used primarily by system administrators to automate some tasks involved with—you guessed it—system administration. But Microsoft Windows Scripts can also be used to automate applications and send data back and forth between programs.

What You Need

If your Windows installation is up-to-date, you shouldn’t need to install anything extra to run this hack. But if it’s been a while since you’ve run Windows Update, you might want to grab the latest version of Microsoft Windows Script at http://www.microsoft.com/scripting. From that page, click Downloads and choose Microsoft Windows Script 5.6 or later for your version of Windows.

This hack also relies on the Microsoft XML Parser to sort the results from Yahoo!. Your system should already have a version of the parser installed, but if you run into trouble, you can always download the latest version at http://msdn.microsoft.com/xml ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally

Publisher Resources

ISBN: 0596009453Supplemental ContentErrata Page