#Reference Comment
Syntax
'#Reference {uuid}#vermajor.verminor#lcid#[path[#name]]
Group
Description
The Reference comment indicates that the current macro references the COM type library identified. Reference comment lines must be the first lines in the macro (following the global Attributes). Reference comments are in reverse priority (from lowest to highest). The IDE does not display the reference comments.
Scriptable
An assembly with the Scriptable attribute only exposes types and members also marked with the Scriptable attribute. To avoid versioning problems the Basic assembly does not define the ScriptableAttribute. To make an assembly scriptable you must add the ScriptableAttribute implementation to your assembly and mark the assembly as Scriptable:
Requires .NET 4.0 or higher.
Parameters |
Description |
uuid |
Type library's universally unique identifier. |
vermajor |
Type library's major version number (hex). |
verminor |
Type library's minor version number (hex). |
lcid |
Type library's locale identifier (hex). |
path |
Type library's path. |
name |
Type library's name. |
Example
'#Reference {00025E01-0000-0000-C000-000000000046}#4.0#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DAO\DAO350.DLL#Microsoft DAO 3.5 Object Library