Web Programming with Visual Basic

by Craig Eddy with Brad Haasch

C  O  N  T  E  N  T  S

Chapter 1  Introduction

Chapter 2  HTTP: How to Speak on the Web

Chapter 3  Interfacing to the Web with DDE and OLE

Chapter 4  Using Web Browser Custom Controls

Chapter 5  Retrieving Information from the Web

Chapter 6  The Win/CGI Interface

Chapter 7  Creating CGI Applications in Visual Basic

Chapter 8  Database Connectivity: The WebGuest Application

Chapter 9  Connecting to OLE Servers: Using the Web as a Front-End to Schedule Plus

Chapter 10  Using OLEISAPI with the Microsoft Internet Information Server

Chapter 11  A Brief Introduction to Web Spiders and Agents

Chapter 12  Quote Watcher: An Interactive Web Agent

Chapter 13  Building an E-Mail Signature Generator

Chapter 14  WebSearcher: A Simple Search Too/

Chapter 15  Linkchekcer: A Spider that Chacks for Broken Links

Appendix A  Basic HTML Tags

Appendix B  VBScript-VBA for the Web

Appendix C  Win/CGI on the Microsoft Internet Information Server

Appendix D  Bibliography and Cool Web Sites


I would like to dedicate this work to my wife, Susan, and my children, Madeline and Bobby, who encouraged me through many late nights and long days. If not for their love and dedication this book would have never been possible.
-Craig Eddy

Copyright 1996 by Sams Publishing


All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. For information, address Sams Publishing, 201 W. 103rd St., Indianapolis, IN 46290.

International Standard Book Number: 0-672-106-8

HTML conversion by :
    M/s. LeafWriters (India) Pvt. Ltd.
    Website : http://leaf.stpn.soft.net
    e-mail : leafwriters@leaf.stpn.soft.net

Publisher and President: Richard K. Swadley
Publishing Team Leader: Dean Miller
Managing Editor: Cindy Morrow
Director of Marketing: John Pierce
Assistant Marketing Managers: Kristina Perry, Rachel Wolfe

Acquisitions Editor Kim Spilker Development Editor Brian-Kent Proffit
Software Development Specialist Cari Skaggs Production Editors Johnna L. VanHoose, Marla Reece
Copy Editor Marla ReeceIndexer Cheryl Dietsch
Technical Reviewer Ricardo Birmele Editorial Coordinator Bill Whitmer
Technical Edit Coordinator Lynette Quinn Editorial Assistants Carol Ackerman, Andi Richter, Rhonda Tinch-Mize
Cover Designer Tim AmrheinBook Designer Alyssa Yesh
Copy Writer Peter FullerProduction Team Supervisor Brad Chinn
ProductionStephen Adams, Debra Bolhuis, Jeanne Clark, Mike Dietsch, Jason Hand, Daniel Harris, Clint Lahnen, Chris Livengood, Ryan Oldfather, Casey Price, Erich Richter, Laura Robbins, Mark Walchle


This book came together through the efforts of many people. The team at Sams.net was phenomenal: Kim, Marla, Johnna, Cari, and Brian. I would especially like to thank Marla, who was always able to inject a bit of humor into her editorial queries. The technical editor, Ricardo Birmele, was instrumental in making sure all the code in this book works as advertised.

Personally, I have many people to thank: My wife Susan for always encouraging me; my parents for always pushing me to give life my best effort; Bernard Jones for kindling the fire of excitement I experienced when I first discovered the Internet. Finally, to the team at Pipestream Technologies for putting up with a grouchy senior developer, who had stayed up most of the previous night writing, and to Ken Banks, president of Pipestream Technologies, who had the vision to add as much Web capability to our sales force automation product as possible. This vision made my experimentation with Web programming possible.

-Craig Eddy

About the Author

Craig Eddy has been a Visual Basic programmer for five years and holds a degree in electrical engineering. He is senior developer and Webmaster for Pipestream Technologies, Inc., a software development company in Richmond, VA. He was an author for Access 95 Unleashed and Microsoft Office Unleashed, both by Sams Publishing. Craig can be reached via e-mail at craige@richmond.infi.net (or CraigE@PIPESTREAM.ipctech.com) and some of his Web creations can be seen at http://pipestream.ipctech.com.

Tell Us What You Think!

As a reader, you are the most important critic and commentator of our books. We value your opinion and want to know what we're doing right, what we could do better, what areas you'd like to see us publish in, and any other words of wisdom you're willing to pass our way. You can help us make strong books that meet your needs and give you the computer guidance you require.

Do you have access to CompuServe or the World Wide Web? Then check out our CompuServe forum by typing GO SAMS at any prompt. If you prefer the World Wide Web, visit our site at http://www.mcp.com.

If you have a technical question about this book, call the technical support line at (800) 571-5840, ext. 3668.

As the team leader of the group that created this book, I welcome your comments. You can fax, e-mail, or write me directly to let me know what you did or didn't like about this book-as well as what we can do to make our books stronger. Here's the information:

Mail:Dean Miller
Comments Department
Sams Publishing
201 W. 103rd Street
Indianapolis, IN 46290