CommandBarButton, FaceId, and Visio

W

win

Hi, I have a menu system that functions correctly until I load a Visio
drawing. In one submenu I select something, and based on that selection I
change something in the parent menu. I have a variable that holds the
location in the parent menu of the CommandBarButton that will be updated.
When I start Visio (no diagram loaded), the menu functions as I expect –
things change correctly. However, when I load a Visio diagram, the then
attempt to change something like the FaceId or the Caption based on the
variable, I get a System.Runtime.InteropServices.COMException error
-532459699, _HResult -2146827864. Any ideas what might be going on here?

The app is in C#, .Net 1.1SP (1.1.4322.2032), Windows XP SP2, Visio Pro 2003
SP2 (11.5509.6568)
 

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