The Active Server’s Objects VB Help

HTML is a great language for displaying information on the client. HTML extensions made Web pages colorful, then interactive. But HTML is a simple language .It wasn’t designed to be a programming language, and no matter how many extensions are introduced, HTML will never become a proper programming language

To design interactive Web pages, we need a programming tool. VBScript could be the missing link, but VBScript (and any other scripting language) is also seriously limited because of security considerations. A scripting language that runs on the client must be safe, and, practically speaking, making a language safe for scripting is tantamount to crippling it. So the answer is to do more on the server. The programming tool is still VBScript. However, when it’s executed on the server, VBScript can access any object on the server computer (built-in or custom). This means that VBScript on the server behaves more like Visual Basic, and your server side scripts look more like VBcode .

Most of you will be interested in learning how to access databases on the server from the client. The simplest way to access databases to rough an Active Server Page is via the Database component, which is based on the Active Data Objects – (ADO). As you learned , ADO is a component that’s installed along with ASp, and you can call it from within your ASP pages to access databases. The ADO component provides high-performance connectivity to any ODBC-compliant database or OLE DB data source. As such, it can be used from within a Web page’s script to directly access remote databases. In other words, you can use the ADO . component on the client script (provided that the component is already installed on the client computer) to build a Web front end for accessing corporate data, without developing additional scripts on the server.

Posted on November 6, 2015 in Basic ActiveX Controls

Share the Story

Back to Top