The power of ASP is not only limited to the interaction between acceptance and display, but more about using ActiveX components for more powerful web applications.
So what exactly are ActiveX components? How does it work? In fact, ActiveX Server Components (ActiveX Server Components) is a file that exists on a WEB server. This file contains code that executes a certain item or a group of tasks. The component can perform public tasks, so there is no need to create code that executes these tasks by itself. A very vivid sentence: Use components to directly use other people's classic powerful programs. But this program has been encapsulated.
So how are the specific ActiveX components generated and obtained? Generally obtained from the following three paths:
1. After installing the IIS server, some built-in components are included, such as the Database Access database connection component.
2. Obtain optional components from third-party developers, either free or paid, such as uploading components (of course, there are no components uploads now).
3. If you are a web program developer, you can use Visual Basic, Java, Visual C++, COBOL and other programming languages to write the ActiveX Server Component you need. This is the so-called ASP is developed for COM (Component Object Model) and COM+.
Of course, whether it is a third party or self-developed, the system must be registered before use. But these are all later stories. What we need now is to understand some of the components that come with ASP as soon as possible.
However, before using built-in components, use a program to detect the component support status in your machine.
Quoting a popular "Ajiang ASP probe" on the Internet, save the following code as an asp file for debugging and viewing.
1, objcheck.asp