ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Com Addin Issue (https://www.excelbanter.com/excel-programming/400591-com-addin-issue.html)

Jason Lepack

Com Addin Issue
 
I'm developing a COM Add-in using VB.net and I'm getting the good old
"Programmatic Access to Visual Basic Project is not trusted."

The "Trust all installed add-ins" is checked and so is "Trust access
to visual basic project"

If I have another add-in enabled that works with the VBE then my COM
add-in executes fine. Otherwise it crashes on the:

Private m_vb As VBE

Public Sub New(ByVal app As Excel.Application)
m_vb = app.VBE
End Sub

app is definitely an Excel application and is never nothing (it is
checked before invoking this class)

Is there something that I'm missing?



All times are GMT +1. The time now is 11:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com