addin problem

H

Hin

I'm writting an Addin for Office applications
(not only Visio, but i use Visio for testing)

In the OnConnection method of IDTExtensibility2 interface,
I do the following:

// app is the root object passed by the host application
PropertyInfo info = app.GetType().GetProperty("CommandBars");

However i always get a null here, anybody know why?
Thanks.
 

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