Multiple References with Same Name in References Dialog Box

Last reviewed: July 29, 1997
Article ID: Q111494
The information in this article applies to:
  • Microsoft Visual Basic Programming System, Applications Edition, version 1.0

SYMPTOMS

In a Microsoft Visual Basic Programming System, Applications Edition module, if you choose References from the Tools menu, multiple references with the same name are listed in the References dialog box.

CAUSE

The References dialog box provides access to methods and properties from other applications that support object linking and embedding (OLE). The Available References list includes object library files (*.OLB) and specific application files, such as Microsoft Excel Workbook files, Microsoft Excel Add-in files, and Microsoft Project Project files. These files are listed in the Available References list without the full path. Therefore, if two or more files are listed in the References dialog box with the same name from different directories, they appear in the References dialog box with the same name.

WORKAROUND

To determine the location of a file listed in the References dialog box, select the filename from the Available References list. The name of the directory path as well as the language in which the reference was written is listed under Group.

MORE INFORMATION

The References command, available on the Tools menu, adds, deletes, or makes available for editing Visual Basic references to object libraries and other files from applications that support object linking and embedding (OLE). Files that may be listed in the References dialog box include Microsoft Excel Workbook files, Microsoft Excel Add-in files, and Microsoft Project project files. You must be in a Visual Basic module to use this command.

To remove a reference from the Available References list, clear the check box next to the referenced file and choose OK. If the file is not loaded, the reference does not appear in the References dialog box the next time you choose References from the Tools menu.


Additional query words: addins add ins filename
Keywords : kbprg
Version : 1.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.