Hosted in OCX Control?

B

Brent Wherry

I've got two major solutions. One relies on a COM Add-in which is loaded on
Visio start. The other raises Visio inside the OCX Control. The technologies
are a bit inconsistent in that the logic in the Add-In fails if it is used in
the OCX solution.

Now I don't want to use the Add-in when invoking via the OCX host.

I've been looking for a way of telling whether the Visio Instance is OCX
hosted so that I can switch off the functionality inside the COM Add-In
ONConnection.

The best I can find is to check the CustomMenus but I think this is a bit
dirty. Anyone have any other suggestion?

Thanks

Brent Wherry
 

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