ASP Component beginner and master series II

Source: Internet
Author: User

How to register Components

1. absolute path of the regsvr32 component

Example: regsvr32 C:/test/fc1.dll

The component can be used as long as it is registered, so it is irrelevant to the position of the component.

2. Register in COM + component manager.

When to register the component: After the component uses the COM + service, it must be registered before it can be executed normally. If this component is registered only with regsvr32, it cannot be used.

 

How to use components

Set OBJ = server. Createobject ("project name. Class Name ")

Then call its method Property

 

How to uninstall Components

1. absolute path of the regsvr32 component

Example: regsvr32 C:/test/fc1.dll/u

Uparameter anti-register component

2. Delete the component from the COM + component manager.

 

 

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.