The RegisterTypelib function registers a COM type library or a COM-EXE on the client's computer. The windows user must have the necessary rights for this operation.
|
Syntax | ||||||
|
RegisterTypelib(Path, Register) | ||||||
|
Return value | ||||||
|
Type |
Description |
| ||||
|
Long |
0 if successfully executed. |
| ||||
|
Parameter | ||||||
|
Use |
Name |
Type |
Passing |
Description | ||
|
Required |
Path |
String |
ByVal |
File path to Typelib | ||
|
Required |
Register |
Boolean |
ByVal |
True: the file is registered. False: the file is deregistered. | ||