Siêu thị PDFTải ngay đi em, trời tối mất

Thư viện tri thức trực tuyến

Kho tài liệu với 50,000+ tài liệu học thuật

© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Tài liệu Referencing the Type Libraries pptx
MIỄN PHÍ
Số trang
2
Kích thước
22.7 KB
Định dạng
PDF
Lượt xem
1802

Tài liệu Referencing the Type Libraries pptx

Nội dung xem thử

Mô tả chi tiết

Referencing the Type Libraries

Before seeing how to use these collections and objects, you need to know how to

reference the object model libraries for use. The object models are found in type libraries

in the file system. A type library contains the information about the object models such as

the collections, properties, and methods. Referencing the type libraries isn't difficult, but

it is still very important.

Because Visual Basic .NET uses ADO.NET by default, you will have to reference all the

object models you are going to need. To reference the object models, choose Add

Reference from Visual Studio .NET's Project menu. After you're in the Add Reference

dialog box, click on the COM tab. You then have to find the type libraries for the object

models and select them. The type library name that you will be using is as follows:

Microsoft ActiveX Data Objects 2.7 Library. This is also referred to as the ADODB

object model.

You can see this library, as well as other Microsoft ActiveX Data Objects Libraries, in

Figure A.2.

Figure A.2. Registering the COM type libraries.

Tip

Tải ngay đi em, còn do dự, trời tối mất!