Questions tagged [visio]

Visio is a diagramming tool included as part of the Microsoft Office suite. This tag is only for questions on programming against Visio objects or files—also tag with VBA.

Visio is a diagramming tool included as part of the Microsoft Office suite, though it is usually acquired separately. It is used to create documents such as flowcharts, organizational charts, network topologies, and software architecture diagrams. Visio includes a development environment known as the ShapeSheet and an API which can be used to develop diagraming and data visualization applications.

Ask programming-related questions about Microsoft Visio (ShapeSheet, API, UML, flow charts, database diagrams, etc.) here on Stack Overflow. For non-programming applications of Visio and for general Visio support, consider if your question might be a better fit on Super User.


Documentation:

1485 questions
3
votes
0 answers

Notes not updated in Visio 2010 reverse engineer with SQL server 2008

I am using ms sql server as the driver to construct a datasource when I do the reverse engineering in the visio 2010. Only tables are imported. E-R diagram generated is fine although only part of tables are automatically added but it's fine. The…
jc W
  • 99
  • 1
  • 7
3
votes
6 answers

Documenting a dependency tree

I have a requirement to document the assembly dependencies in a vb6/dotnet application. What techniques / tools are good for performing this sort of document. I was planning on using Visio for drawing.
benPearce
  • 37,735
  • 14
  • 62
  • 96
3
votes
1 answer

CommandBarButton click event for several buttons

I need to create my own toolbar with set of buttons in the Visio window. The next code generates toolbar (it works), create buttons (it works), and assign Click events handlers for them. vsoCommandBar = vsoCommandBars.Add("MyCommandBat",…
Badiboy
  • 1,519
  • 1
  • 18
  • 31
2
votes
1 answer

How to change the active Page in Visio through JACOB Library

I can change a activePage in Visio with VBA code (with Macro Recorder) in Visio for Example from X Page to page "Main" Application.ActiveWindow.Page = Application.ActiveDocument.Pages.ItemU("Main") I tried it translate in java with JACOB…
Tolga Ulusoy
  • 143
  • 1
  • 7
2
votes
1 answer

Creation of a Visio Add-in with Visual Studio 2010 and C# : loosing reference to buttons

I am facing something strange in my Visio Add-in: I have a CommandBar, with CommandButtons on it and I just launch my debug mode. The first page is OK (the start page of Visio) but if I open a file or create a new file, I can click all I want on my…
Klaué
  • 25
  • 6
2
votes
0 answers

Forward engineer from Visio to SQL Server

I have created an ERD in Visio 2007. Now I want to take my ErD design and export it to SQL Server 2008 and create a new database based on my diagram. I can locate much information on reverse engineering but little on forward. How can I get this…
sayth
  • 6,696
  • 12
  • 58
  • 100
2
votes
1 answer

Something similar to CSS in Microsoft Visio 2010?

I'm looking for something similar to CSS in MS Visio 2010 for UI mockups for a website. I'm currently using the Visio Wire Frame to create the individual web app page mockup screens. However, it's turning into a massive amount of different screens…
TheDude
  • 1,421
  • 4
  • 29
  • 54
2
votes
1 answer

Select grouped Shapes in VBA (Visio)

I'm trying to run through all the shapes of my current visio document using VBA to export some of the strings from it. It seems easy but I don't know how to get the grouped shapes. By doing: Dim vsoShapes AS Visio.Shapes Dim vsoShape AS…
dyesdyes
  • 1,147
  • 3
  • 24
  • 39
2
votes
2 answers

Visio stencils for system architecture

I know there are questions related to mine, but they do not solve my problem and I cannot find anything on the Internet. I want to create a diagram of the system we created. What I need is stencils with icons for: website database webservice …
Michal B.
  • 5,676
  • 6
  • 42
  • 70
2
votes
1 answer

Visio 2010 forward engineering to Oracle 10g xe

I've been googleing but maybe I'm not using the right words, so: I have a ER diagram made in Visio 2010, and I what to do a forward engineering to an Oracle database. I've found a forward engineering plugin for Visio 2010 but this generates a MS…
Daniel
  • 1,225
  • 2
  • 15
  • 31
2
votes
0 answers

Using Visio Shape.GetFormulasU method, does Garbage Collection not work on this?

Visio has some handy methods on the Shape object to retrieve a whole set of FormulaU's in the Shape's shapesheet at once, very good for improving performance across the .net interop to Visio. Microsoft however says here: "Each variant returns a…
2
votes
1 answer

Visio Shapesheet Conditional Formula

I am editing a master shape's shapesheet. I want to adjust the FillForegnd cell in the Fill Format section, which changes the shape's fill color. I want to write a formula for the fill to be one color if Prop.Name contains a certain word (in this…
Fallwind
  • 21
  • 1
2
votes
1 answer

Container in MS VISIO

If someone knows how to place one figure inside another in Visio VDX (xml) format, please provide explanation (or link) and xml code sample. Thank you.
Daniil Belonin
  • 373
  • 1
  • 9
  • 19
2
votes
1 answer

Using Microsoft Office software as part of my web service backend?

What licensing issues arise if I install and use Microsoft Office software (in this case Visio) as part of my web service backend? My company's flagship piece of software can convert Microsoft Visio files for use in their environment, but of course…
sxthomson
  • 563
  • 2
  • 5
  • 18
2
votes
1 answer

Visio how to add data graphics on Visio shapes using C# code?

I am using Visio Professional 2021 and VS 2019 for my development. I want to add data graphics to my added shape in Visio as per the below screenshot. Can you suggest some possibilities in C#? Below is my code which I have tried to short…