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
8
votes
1 answer

What does I1, I2, U1, means in Visio database relationship diagram?

I am reverse engineering an database to create an database ER diagram in Visio. When I display the table in Visio, on the left hand side of the entity diagram, I see symbols next to the column names that I do not know what they mean. Symbols such…
anh
  • 81
  • 1
  • 1
  • 2
8
votes
10 answers

Wrap text in Use case in Microsoft Visio

I am making a use case diagram, and the problem is: I type some text and it is always display in one line, making my use case elipse too big. Does anyone know how to make it go to the next line? I think this option is called wrap text in…
nanek23
  • 81
  • 1
  • 1
  • 2
8
votes
1 answer

Is it possible to show that a method/operation returns and array of objects (rather than just a single object) in Visio 2007?

I am making particular reference to producing a Static Structure (class diagram). I notice that you can set the return type to a particular object, but there appears to be no way to select that collection of objects be returned instead.
Barjavel
  • 1,626
  • 3
  • 19
  • 31
8
votes
3 answers

What's the name for this type of flowchart?

Take a look at this; it's very obvious how it works and what its purpose is: (source: json.org) What's this type of chart called? Can I make this kind of chart in Visio? What software do you recommend for making this kind of chart?
Nathan Ridley
  • 33,766
  • 35
  • 123
  • 197
8
votes
1 answer

generate visio diagram on the fly with .NET

is there a good way of generating a visio diagram of an architecture (with a decent layout) if i have a list of client apps, services and databases? i would have thought there would be a decent way to generate this on the fly.
leora
  • 188,729
  • 360
  • 878
  • 1,366
7
votes
3 answers

Visio 2010 UML Object Lifeline renames itself when a Message is deleted

I'm doing a lot of documentation for the way our systems interact with other systems and am using the UML Sequence Diagram (Metrics US) shapes that come with Visio 2010. When I use them, I have the following problem: I create an object lifeline and…
Austin
  • 1,521
  • 5
  • 15
  • 27
7
votes
1 answer

How to create file system and folders structure in Visio 2010?

I am newbie to Visio 2010 and was wondering is there any way to create hierarchical diagram of directory tree? This folder tree might also include files and it doesn't need to actually exist in reality on my local hard drive, I'd just like to create…
matori82
  • 3,669
  • 9
  • 42
  • 64
7
votes
1 answer

Creating statecharts in Visio using c#

Can anyone point me to an example of how to programatically create a statechart in visio? I can create blank pages, drop shapes, open template etc, but when I try to add transitions it complains that the page is not the right type. Can't find a…
John3136
  • 28,809
  • 4
  • 51
  • 69
7
votes
2 answers

Is there a way to represent an enum class in Visio 2007?

I am designing a Class Diagram (static structure) and would like to include some Enum classes. However I cannot seem to find a suitable way to represent this. Any ideas?
Barjavel
  • 1,626
  • 3
  • 19
  • 31
7
votes
4 answers

GUI for Creating Visual State Machine

I want to create an application GUI that allows a user to create a visual state machine. The interface would work similarly to Microsoft's Visio product, where the user adds blocks or circles (states) and then connects the states with arrow lines…
SyllogismRXS
  • 326
  • 1
  • 2
  • 4
7
votes
4 answers

Which templates support database reverse engineering?

I have Visio 2016 professional installed, which by all my research should support database reverse engineering. Every guide I find says to go to the Software and Database category and select "Database Model Diagram" for the Database tab to pop up…
Brett Allen
  • 5,297
  • 5
  • 32
  • 62
7
votes
5 answers

Error deploying VSTO Office addin

I'm having some issues deploying a Visio addin. Running the VSTO file works on my computer, but whenever I try and move it to any other user's computer it throws an error on deployment. I thought it might be a setting I'd set in the project…
zeocrash
  • 636
  • 2
  • 8
  • 31
7
votes
0 answers

Can I export a Visual Studio CodeMap (.DGML file) to Visio?

I'm trying to get my head around a rather large solution and I find that Visual Studio's CodeMap feature to be an invaluable aid. However I'd like to take sections of the generated Codemap and from this, generate some pretty documentation from it.…
Mike Wilson
  • 397
  • 1
  • 3
  • 11
7
votes
2 answers

Visio 2013: How to reduce width of built-in UML class shape?

I drew a class diagram of the type 'UML static structure' with Visio 2013. Now I would like to reduce the width of the class shapes in the diagram. I removed the size protection in the developer tools section and also tried to set the width in the…
riko333
  • 71
  • 1
  • 3
7
votes
2 answers

How do I programmatically drop a Milestone onto a Block Timeline in Visio

I'm trying to programmatically create a timeline and markers using the Visio 2010 COM Interops. My code is based off of Chris Castillo's 2 part blog posting (Part 1, Part 2), which is the only semi-complete example I've been able to find on how to…
Tom Halladay
  • 5,651
  • 6
  • 46
  • 65
1 2
3
98 99