EasyManua.ls Logo

Teklynx Discover ActiveX - What Is the Type Library

Teklynx Discover ActiveX
165 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 1 -- 3
Discover ActiveX Automation for your labeling software
What is the type library?
The type library supplied by the labeling software is a file
(Lppx2.tlb) that describes the type of all the ActiveX objects.
The type library does not store objects, it stores type informa-
tion. By accessing the type library, your application can
determine the characteristics of an object, such as the interfaces
supported by the object and the names and parameters.
This library helps you to write your program because it contains
all the definitions of object methods and properties that you can
access. Using this library you optimize your job.
ThenameofthistypelibraryisLabelManager2 with the
TK Labeling ActiveX 6.0 reference.
The procedures below show how to install and use the type
library with Visual Basic 6.0.
"
""
" To install the type library
1 Choose Project References.
2 Activate TK Labeling ActiveX 6.0 in the list of available ref-
erences then validate the d ialog box.
"
""
" To display the methods and properties
1 Use the Object Explorer by pressing the
F2 key.
2 In the library list, select LabelManager2.
"
""
" To use the type library
S While writing code, you have just to enter a period ā€.ā€ after
an object to get the associated methods and properties, or
after a method to get the associated properties.

Table of Contents