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
2
votes
0 answers

How to Import Azure JSON template into Visio Diagram?

I would like a process to export all the azure configurations and import them into Visio to be able to build accurate architecture diagrams of the environment. This would allow for a 'point in time' reference for what is the current state. Expanding…
Tdl Matias
  • 173
  • 1
  • 2
  • 11
2
votes
1 answer

UML: Composition or Dependency

I have 2 classes Job and Task. These are the rules: Each Job has a numeric identifier. Each Job has 10 corresponding Tasks. Each Task has a numeric identifier. A Task cannot exist without a Job. I am trying to build Class diagram for these 2…
ChumboChappati
  • 1,442
  • 4
  • 18
  • 38
2
votes
1 answer

Get Visio 2016 to snap to grid only

I am running into an issue in Visio 2016. I am trying to get the connecter routing to only snap to my set grid size (to keep everything aligned and neat looking). However, if i have boxes, images, or shapes in the diagram, it always seems to want to…
J Smith
  • 39
  • 2
  • 5
2
votes
2 answers

create sectioned document in visio

I am trying to do something in Visio 2010 that I was able to do with previous versions. That is creating a flowchart that contains 4 vertical sections of identical widths. I can draw lines manually I suppose, but there used to be a section creator…
John Livermore
  • 30,235
  • 44
  • 126
  • 216
2
votes
2 answers

how to develop an add-in for visio

I want to create an add-in to visio so that I can draw BPMN diagrams (Business Process Modeling Notation). A similar work is available here: http://www.interfacing.com/free-visio-bpmn-modeler. But I want to create my own icons(notations) and make it…
2
votes
1 answer

Visio Set X and Y Coordinates

In Visio I am trying to change the shape's x and y coordinates. I am using the following code VisioApp.ActiveWindow.Page.Shapes.Item(uniqueId).CellsSRC(visSectionObject, visRowXFormOut, visXFormPinX).FormulaForceU = "18…
Andy
  • 25
  • 4
2
votes
1 answer

Visio Reverse Engineer Won't Add Data Source

I have Visio 2010 Premium, and I'm trying to connect to a SQL database. I go to the Database tab, and choose Reverse Engineer. If I choose Microsoft SQL Server, there are no data sources. I choose New... and set up an ODBC connect to the server…
missscripty
  • 529
  • 2
  • 11
  • 30
2
votes
2 answers

How to make regular lines jump like connectors

Exactly like the title says, how can I make a regular line behave like a connector and jump over other connectors?
Ben_B
  • 25
  • 1
  • 6
2
votes
1 answer

Remove all macros from a visio 2013 file

I have a Viso 2013 .vstm file that launches a VBA macro on document creation (template instanciation when a user opens the template manually). This macro populates the created drawing from a datasource. When finished, I would like to save…
Kraal
  • 2,779
  • 1
  • 19
  • 36
2
votes
1 answer

VBA connect using named connection points

I have a few shapes with named connection points. Is there any way to connect them using their name? I don't want to connect them using x,y co-ordinates. Example: Say I have two shapes S1, S2. Connection points on S1: C11, C12 Connection points on…
Arthes
  • 79
  • 1
  • 8
2
votes
1 answer

Visio: DOS Sharing violation (Error 1532)

So I'm really confused right now. Out of the blue my code gets me the error "DOS Sharing violation". It's weird because, it says that is trying to save my document, but I just want to open it. This is my Code: Public Sub ReadActivity() Dim…
Philipp Mochine
  • 4,351
  • 10
  • 36
  • 68
2
votes
2 answers

Database symbol meaning?

I was going through some tutorials and came across the below database diagram: I didn't understand this database diagram. Can anyone help me in understanding these notations? Are they made using UML or Visio or what?
CuriousMind
  • 8,301
  • 22
  • 65
  • 134
2
votes
1 answer

How to get ActiveSheet in OLE-embedded Excel object

I am looking around at embedding Excel workbooks in Visio and doing read/write operations on the embedded data. Doing paste-special with Excel data seems to embed the whole workbook, not just the selected/copied data. I'm able to get a reference to…
Jon Fournier
  • 4,299
  • 3
  • 33
  • 43
2
votes
1 answer

Get Visio theme color

In Visio you can set the theme of your Visio File > Options > General > Office Theme. I would like to retrieve this value in my addin in visual studio so that I can adjust my own custom windows. However I can not find this setting. Can somebody tell…
Tim
  • 445
  • 5
  • 19
2
votes
1 answer

save and close visio documents visual basic macro

I want to create a visio page, add some shapes, store it with a given filename and close it. Currently, always the object/template toolbar is active and thus stored under the given filename. What is the best way to store the current…
user326667
  • 509
  • 1
  • 7
  • 11