Re: Visio 2002 shapes with user sections migrating to Visio 2003

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Mark Nelson [MS] (marknel_at_online.microsoft.com)
Date: 10/27/04

  • Next message: Florian Albrecht: "Visio automation"
    Date: Tue, 26 Oct 2004 20:22:42 -0700
    
    

    I would only suggest the XML roundtrip as a one-time cleanup attempt, not
    something you perform frequently. Several releases ago I recall a problem
    where deleted sections come back to life. In some cases, Visio treats
    deleting a section as just hiding it - though I thought this was restricted
    to non-automation scenarios. If you can boil the code down to a simple
    example, I'd be happy to investigate this for you.

    -- 
    Mark Nelson
    Microsoft Corporation
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Pat" <Pat@discussions.microsoft.com> wrote in message 
    news:5161467E-7F1B-46C8-94CB-BB14C5C888AB@microsoft.com...
    > Mark,
    >
    > Thanks for the XML idea. We are releasing a Visio 2002 stencil that has to
    > work in both Visio 2002 and Visio 2003 with frequent interactive 
    > programmatic
    > calls to delete user and control sections as part of our program 
    > functions.
    > We are unsure if programatically converting to XML can be part of the
    > solution here but will certainly try this out.
    >
    > Thanks again,
    >
    > Pat
    >
    > "Mark Nelson [MS]" wrote:
    >
    >> You might try saving the file as Visio XML and reloading it to try to 
    >> clean
    >> out the unnecessary items.
    >>
    >> -- 
    >> Mark Nelson
    >> Microsoft Corporation
    >>
    >> This posting is provided "AS IS" with no warranties, and confers no 
    >> rights.
    >>
    >> "Pat" <Pat@discussions.microsoft.com> wrote in message
    >> news:388B58B5-DA3E-4ADE-B1D2-632B907575E4@microsoft.com...
    >> > Hello,
    >> >
    >> > I am getting strange behaviour with Visio 2002 shapes that have user
    >> > section
    >> > variables and are opened in Visio 2003
    >> >
    >> > 1. The section delete command when applied to the user section appear 
    >> > to
    >> > work but when you create a new user section all the rows in the prior
    >> > section
    >> > reappear. Similarly with the row delete commands. When you inswert a 
    >> > new
    >> > row
    >> > all the prior rows you have deleted reappear.
    >> >
    >> > 2. Code written in Visio 2002 referencing cells in the Action section
    >> > looks
    >> > like it will need special handling in 2003 because cell names have
    >> > changed.
    >> > Is this true or am i just confused by the universal and local names 
    >> > that
    >> > are
    >> > displayed.
    >> >
    >> > Any help would be greatly appreciated.
    >> >
    >> > Thank You,
    >> >
    >> > Pat
    >> >
    >> >
    >>
    >>
    >> 
    

  • Next message: Florian Albrecht: "Visio automation"

    Relevant Pages