#Reference Comment

Syntax                  '#Reference {uuid}#vermajor.verminor#lcid#[path[#name]]
-or-
'#Reference #assembly

Group                   Declaration

Description           The Reference comment indicates that the current project/macro/module references the COM type library (or .NET assembly) identified. Reference comment lines must be the first lines in the macro/module (following the global Attributes). Reference comments are in reverse priority (from lowest to highest). The IDE does not display the reference comments.

Projects: A '#Reference comment in a project's module is a syntax error. The project itself contains the references for all the modules in the project.

Parameter              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.

assembly                Fully qualified assembly name. For an assembly which is not in the GAC use:

assembly, Path=fullpath.dll

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
#Reference #System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL