john-tvh / VBE_Extras

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

TaskCanceledException in 'Connect(WinForms)' exception handler on launch #15

Closed mrtnnwmn closed 9 months ago

mrtnnwmn commented 1 year ago

Describe the bug Error window appears for TaskCanceledException in 'Connect(WinForms)' exception handler on launching VB IDE

To Reproduce Steps to reproduce the behavior:

  1. Open Excel (from file or shortcut)
  2. Press Alt+F11 to launch VB IDE
  3. Error appears

Expected behavior No error

Screenshots image

Logs logs.zip

Please complete the following information: VBE_Extras v1.4.1.4, build 26 Oct 2023 18:41:06 LGF: v2.2.0.0 LGS: v3.1.6.0 LFF: v3.7.1.0 .NET Framework 4.8.9181.0 CLR: v4.0.30319 Microsoft Windows 10.0.22621 : X64 Excel 365 (16.0, 16924, WIN64, VBA7) VBE 7.01.1131 UI Lang: en-US Host: EXCEL.EXE v16.0.16924.20124 Exp: NEWA

john-tvh commented 1 year ago

Hi mrtnnwmn, thanks for raising a bug report. I have a few questions if you can help further. Assuming that the VBE and VBE_Extras still starts up okay (once you click through the Exception dialog):

  1. While an Exception has clearly been thrown, there is no Exception report in the logs.zip ... can I ask you to go to the 'App' tab of the Settings, click on 'View the logs' (you can then close the Settings) and then open the 'Exceptions' sub-folder ... do you see any files? If so, can you Zip them up and attach them to the bug report? If not, can you run the VBE / VBE_Extras until the Exception dialog appears and then their should be an Exception report file in the Exceptions folder?
  2. Are you doing anything (any commands, keyboard shortcuts etc) in the VBE between it opening/loading and the Exception dialog appearing, or does the Exception dialog appear if you do nothing at all? If the former, what action is triggering it?
  3. Do you get the Exception dialog every time you open the VBE (with VBE_Extras loaded)? Do you get the Exception dialog no matter which Excel workbook (and so VBProject) is active?
  4. Do you get the Exception dialog if you open the VBE within a different host application (eg Word, PowerPoint, Access)?
  5. Do you have 'Live Code Info' switched on? If so, can you switch it off (in the Settings, 'Live Code Info' tab and uncheck 'Live Code Info active' and test whether you still get the Exception dialog?
  6. Do you have 'Show hidden members at startup' switched on? If so, can you switch it off (in the Settings, 'Other' tab and uncheck 'Show hidden members at startup' and test whether you still get the Exception dialog?
  7. Do you have any other VBE AddIns loaded (eg MZ-Tools)? If so, can you try opening the VBE without them loaded (in the VBE, select Add-Ins then Add-In Manager ... select each AddIn other than VBE_Extras and uncheck both 'Loaded/Unloaded' and 'Load on Startup', then close the VBE and close Excel, then restart Excel and the VBE ... do you see the Exception dialog? You can restore the other AddIns by checking the two boxes you just unchecked.
john-tvh commented 12 months ago

Hi mrtnnwmn, version 1.4.2.0 of VBE_Extras is now available. If you do have time to respond on the above questions, it would be great if you would update to 1.4.2.0 first.

john-tvh commented 9 months ago

Closed - cannot be reproduced