john-tvh / VBE_Extras

VBE Extras ... extending the VBA editor
https://www.thevbahelp.com/vbe-extras
1 stars 0 forks source link

COMException 'Library not registered' when a VBA Project includes one or more broken Type Library references #18

Closed john-tvh closed 10 months ago

john-tvh commented 10 months ago

Describe the bug Dialog appearing in VBA Projects that have one or more broken Type Library references: The VBE reported an error (COMException) in the 'Menus' exception handler (command 'Info for code at cursor'): Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))

To Reproduce Steps to reproduce the behavior:

  1. Open relevant VBA Project
  2. Click on any declaration or reference
  3. For example, select menu item 'Info for code at cursor'
  4. See error

Expected behavior No such error dialog

Screenshots Capture

Frequency of bug Is specific to VBA Projects that have one or more broken Type Library references ... occurs for majority of VBE_Extras functions.

Please complete the following information: VBE_Extras v1.4.2.0 [Debug], build 20 Nov 2023 08:46:55 LGF: v2.2.0.0 LGS: v3.1.9.0 LFF: v4.0.0.0 VEH: v20230831.05 .NET Framework 4.8.9181.0 CLR: v4.0.30319 Microsoft Windows 10.0.19045 : X64 Dev device Excel 365 (16.0, 17029, WIN64, VBA7) VBE 7.01.1131 UI Lang: en-US (menu names English) Host: EXCEL.EXE v16.0.17029.20028 Exp: S-GET, S-CCAS, RAM

john-tvh commented 10 months ago

Fixed in release 1.4.3.0