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

manipulate visio format file programmatically

I want to extract information from a Visio file and do some change on them(like using C++), then write them back? My question is: Is manipulating visio files(mainly reading and writing) programmingly possible? If so, any tutorial lin is preferred
xiaohan2012
  • 9,870
  • 23
  • 67
  • 101
3
votes
3 answers

Spring Integration Images for use in Visio

Does anyone know where some Spring style integration images can be found for use in Visio - just a stencil or where one could possible download the images used in the Spring Integration designer GUI as seen here:…
NightWolf
  • 7,694
  • 9
  • 74
  • 121
3
votes
2 answers

Generate Visio ERD from existing MySQL Database

Is there a simple way to generate an ERD in Visio from an existing MySQL Database? I'm aware that this is possible in MySQL Workbench, but I have a requirement for it to be done in Visio. Or otherwise can I convert an ERD made in MySQL Workbench to…
Joe M.
  • 1,054
  • 3
  • 15
  • 37
3
votes
1 answer

Exporting Entity-Relationship-Diagram from SQL with Visio 2010 (Professional Plus)

I'm searching the opposite solution to the question exporting SQL from a Viso diagram. I have the SQL statement for the creation of multiple tables of a MySQL database. Is there a way to use the Reverse-Engineering feature of Visio 2010 to create a…
testing
  • 19,681
  • 50
  • 236
  • 417
3
votes
2 answers

Visio Stencil for iOS design comps?

Has anyone created a Visio template, or just a stencil, for creating iOS design comps? I know there are tools that allow you to do design comps, but I'm really after a Visio stencil, or stencil template combination, for my particular…
Rob Fahrni
  • 177
  • 1
  • 1
  • 10
3
votes
2 answers

Shape connectors in Visio

I'm writing an Add-In to Visio 2010 in Studio 2010 on C#. I need to read a diagram currently opened in Visio. I know how to read shapes of the diagram. The question is if I have a shape object, which properties can give me coordinates of the shape…
Daniil Belonin
  • 373
  • 1
  • 9
  • 19
3
votes
1 answer

Any way to set png export resolution in Visio 2003?

I am trying to export a page from a Visio document to a png file using Visio 2003. The Export method works, but I haven't found any way to set the desired output resolution. The documentation mentions what it uses the defaults, but nothing on how…
Anders Lindahl
  • 41,582
  • 9
  • 89
  • 93
3
votes
1 answer

Observer-Pattern: Closing UserForm via FormControl causes Out of stack Space Error

Update: It seems Visio and Excel on my PC do not use the same Office Object Libraries, at least that is what a look at the used references tells me. Visio uses 15.0, Excel uses 16.0, we use different subscriptions for both, Excel is part of the MS…
L8n
  • 728
  • 1
  • 5
  • 15
3
votes
1 answer

Error when running Python Program: com_error: (-2147023174, 'The RPC server is unavailable.', None, None)

I am working with Excel, Python, and Visio and when I run this simple code, I get an error of com_error: (-2147023174, 'The RPC server is unavailable.', None, None) This is the code I am running: for row in range(1,sheet3.nrows): if…
3
votes
1 answer

VBA to change Visio font style by font name instead of font index?

I'm hoping to use VBA to change the font style of the texts in shapes(from Calibri to Verdana). Currently I have (a snippet of the code) Visio.ActivePage.Shapes(1).Characters.CharProps(visCharacterFont) = 235# 235 is the font index for Verdana in…
qwer
  • 31
  • 2
3
votes
2 answers

MS Visio 2007: How do I get the cardinality to appear on both ends of a relationship?

In Visio 2007, I can only seem to set the cardinality of the Parent-to-child relationship, but I want to set the Child-to-Parent as well. Is there a reason Visio won't let me do this? Do I need to create a separate relationship to achieve this? I'm…
Lifes
  • 1,226
  • 2
  • 25
  • 45
3
votes
0 answers

Converting ERDs in visio 2016 to SQL Script to create tables

As the title describes, is there a way to convert ERDs in visio 2016 to SQL Script to create tables? I'm using the crow's foot database notation diagram. I've tried viso forward engineer but it cannot install on my Win10 x64 machine.
ABB25
  • 101
  • 2
  • 8
3
votes
1 answer

Visio 2010 - change title attribute when exporting to SVG

I want to embed a couple of SVGs into a website which contain links. What I am struggling with is the hover text that is displayed on a link. Instead of "Tabelle.28" which seems to be auto-generated I want to put something more meaningful but the…
ratanmalko
  • 449
  • 4
  • 20
3
votes
1 answer

Convert Enterprise architect sequence diagram to Visio

I have created 15 sequence diagrams using Sparx Enterprise Architect. My client wants these diagrams in Visio only. Is there any tool to convert already created EA diagrams to Visio?
Tanima Kumari
  • 119
  • 2
  • 12
3
votes
5 answers

How to achieve hand drawn look in Visio diagrams?

I want to make a prototype of a website. Is there any visio stencil which gives a hand drawn look to the prototype? I found one such template with few shapes, but these are not enough to easily create a…
Puneet
  • 1,142
  • 5
  • 10
  • 10