Thread: Com Addin Issue
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jason Lepack Jason Lepack is offline
external usenet poster
 
Posts: 120
Default 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?