Write the ASP as a DLL with Visual Basic

zhaozj2021-02-17  61

This article is mainly written for people who want to improve their ASP levels! Turn the ASP code into components, but developers not only speed up the speed of ASP, but also protect their code. This article writes out, In order to give the development component netizens to get a class! Below we will write a very simple component, the focus is to develop DLL components, not its complex code! These must rely on yourself.

Server-side components

First, the server-side components must be different from the client's components. The client's components are transmitted over the network, relying on HTML to work. But only use it on IE. But the server side is running on the server side, which is executed on the server Various operations. Therefore, all browsers can be enjoyed, depending on the server instead of the browser.

When IIS is requested to execute an ASP program, it will first find the code between the <%%> tag in the ASP file, and execute it (or code between