Com Addin Issue

J

Jason Lepack

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top