|
Visual Basic for Applications Unleashed
Chapter 21Web Page Programming: ActiveX and VBScript
IN THIS CHAPTER
Orson Welles As you may know, HTML forms are the Web equivalent of application dialog boxes. This is a reasonable analogy, because both forms and dialog boxes use various controlstext boxes, option buttons, lists, command buttons, and so onto get information from the user. When running applications on their computers, however, few people think of the program's dialog boxes as being the interesting part. Instead, most folks would agree that it's the application itself that's interesting. In the end, dialog boxes are just a necessary evil for making the program do our bidding. This helps explain why, in the end, Web-based forms aren't all that exciting. They're great for grabbing information from the user and for querying databases, but that's about the extent of it. No, to make your Web pages truly interesting, you need to give people applications to play with. This is where ActiveX comes in. ActiveX controls are miniprograms that turn an otherwise-lifeless Web page into a dynamic, interactive object. In other words, the page becomes an application. With this sort of promise, it's no wonder that ActiveX is one of the hottest and most exciting areas of Web page development. If you're interested in leveraging this powerful technology for your Web pages, this chapter shows you several methods for getting the job done. You'll also be introduced to VBScript, the subset of VBA that lets you program Web-based ActiveX objects.
Copyright © 1995-2008 Paul McFedries and Logophilia Limited |