Visio Events - Plz Help

A

Asif

Hi all,

I am working on application that uses Visio 2003 Active X Drawing
control. I used ShapeRightMouseAction and RightClickEventSink classes
for adding menu items on shape right mouse action. This works fine by
adding menu item and perform action by clicking on that item. I did
upgrade the same application from Visio 2003 to Visio 2007, remove
Office 2003 Primary Interop Assemblies and install Office 2007 Primary
Interop Assemblies.

The issue I have is once I click on shape right click menu item
VisEventProc function in RightClickEventSink class fires twice. If I
installed Office 2003 Primary Interop Assemblies along with 2007 PIA
it fires only once.

Can some one help me out in finding the work around for this issue?

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