The secondary entry and proficient series of ASP components

zhaozj2021-02-16  99

How to register components

1. The absolute path of Regsvr32 components

Such as: regsvr32 c: /test/fc1.dll

Since the component can be used as long as the registration is registered, it is independent of the location of the component.

2. Register in the COM Component Manager.

When is it necessary to register: The component needs to be registered after using COM service. If the component is only registered with REGSVR32, it still cannot be used.

How to use components

Set obj = server.createObject ("Engineen name. Classification")

Then call its method properties

How to uninstall the component

1. The absolute path of Regsvr32 components

REGSVR32 C: /TEST / FC1.DLL / U

u Parameter anti-registration component

2. COM Component Manager deletes the component

转载请注明原文地址:https://www.9cbs.com/read-10506.html

New Post(0)