visio drawing control RRS feed

  • Question

  • I have embedded a Visio drawing control in a user control and using that in a WPF Application. The application has three menus. One of these menus is supposed to show a visio drawing in the visio drawing control. When I load the drawing file into the visio control, I check to see whether the active page is a foreground page and if not I get the first foreground page available from the document and set it as the active page.

    I am facing two problems in this case.
    1. If dispose off the Visio control when a different menu is selected, then the application hangs if I select the other menus. It may hang the first time I select another menu or after a few selections. But it hangs always.
    2. If I do not dispose off the Visio control, then the second time I select the menu to display the visio document, it does not selct the foreground page.(Initially the document's activepage when it was saved was the background page).

    Has anyone faced this problem? Is there any solution for it?
    Friday, March 5, 2010 4:04 PM

All replies

  • Hi JayashriYadav,

    Thanks for your post.

    This forum is focusing on Open XML SDK which is a collection of classes that let you create and manipulate Open XML documents. Your question seems not related to the forum and you might find an appropriate place to get more helpful information.


    Monday, March 8, 2010 3:08 AM