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
8 answers

How to programmatically detect 32-bit or 64-bit visio version is installed?

How to programmatically detect 32-bit or 64-bit visio version is installed?
Regfor
  • 8,515
  • 1
  • 38
  • 51
2
votes
1 answer

Powershell + Visio Creating a Crow's nest diagram?

I am trying to pro grammatically generate a Crow's foot database diagram in Visio 2013 using powershell. I'm getting hung up on how I add attributes to the entity shape after adding the entity shape to the drawing. This is what I've come up with so…
user3246693
  • 679
  • 11
  • 22
2
votes
2 answers

dynamic connectors in Visio .vdx files

Currently I am trying to understand .vdx files, because in the future I want to generate my own. I'm having problems with dynamic connectors. When defining them as follows:
mspoerr
  • 2,680
  • 5
  • 32
  • 35
2
votes
1 answer

Open Visio Drawing using a Macro in Access 2010

I have a button on a form in my database that i would like to open a user guide on click. The user guide I have put to gether is in visio but i can't seem to find a way to open it using the macro builder. Is this something i would need to do using…
JFewtrell
  • 25
  • 6
2
votes
0 answers

diagram design with Visio and Open Source

I have different people working on a diagram. One of them draws his diagrams in Visio, the other people use Open Source solutions, such as Dia and Libre Office Draw. Does anyone know in which format they best can import/ export the diagram, so that…
Ted
  • 35
  • 1
  • 6
2
votes
2 answers

open a fileDialog in visio vba

I'm coding macros in vba Word and on visio 2013. I wanted to open a fileDialog so that the user can choose where to save his file. I succeded in word, but in visio it doesn't to work the same. I wrote this in word: Dim dlg As FileDialog Dim…
user3314570
  • 237
  • 4
  • 14
2
votes
2 answers

Why is the size of my Visio file increasing?

This one is for a coworker: We are having a problem with one of our wireframe sets (a Visio file). Basically, the file continues to increase in size and is currently at 43 MB (yes, forty three!), when the average of our other sets are at about…
jacobko
  • 8,740
  • 7
  • 32
  • 36
2
votes
2 answers

Filling a shape of visio with color in c#

Hi i am creating Shapes of visio2013 using c# .Now i need to fill the shape with some colors using c# i tried the below codes but nothing makes sense :( :( Visio.Cell cqellname; cqellname = shape.get_CellsSRC( …
Dah Sra
  • 4,107
  • 3
  • 30
  • 69
2
votes
1 answer

Visio data linked to excel to update the shape text

I have used the native "Link Data to Shapes" feature in MS Visio however there is no way that I can get the shape text (i.e when you press F2 on a shape) to sync with a datafield. The result is that I can visually hide the shape text when the data…
Hightower
  • 968
  • 4
  • 24
  • 58
2
votes
1 answer

Get Visio Shape.BoundingBox method with Python

I am using Python with the win32com.client to get the page names and shapes description for a Microsoft Visio drawing. The Python code below works for getting the shape index, shape name and shape text. The command to get the shape bounding box…
John Bessire
  • 571
  • 5
  • 20
2
votes
0 answers

How to display a VISIO file in ASP.Net web form?

I want to show a visio file in a web form in an ASP.Net web form. I'm using C# and .Net framework 4.5. I'm creating the visio file dynamically in a web form, according to some data that is stored in a database by using…
happyNewLife
  • 87
  • 1
  • 9
2
votes
1 answer

Simple Question about Visio 2007 (trying to create a simple UML diagram(C++) )?

I'm simply trying to create a UML diagram where I can show the header file declarations. I to be able to display things such as: Bitmap * getImage() Coordinate * getCoordinates(Object o) Stuff like that. Problem is, I can't figure out how to…
Chad
  • 2,335
  • 8
  • 29
  • 45
2
votes
4 answers

Is it possible to export a WF diagram to visio?

I would like to be able to export my WF diagram from visual studio 2008 into Visio so I can better show it to non-programmers. Dose anyone know if its possible? I haven't come across any mention of it before, and I don't see anything that jumps out…
Russ
  • 12,312
  • 20
  • 59
  • 78
2
votes
2 answers

Passing parameter to VBA Macro

I am trying to run a macro when I double click on Visio shapes. I want to pass the shape object to the VBA macro so that I could do something in the macro depending on the id of the Shape object. Is it possible to pass the parameter to VBA macro.…
coder
  • 2,239
  • 5
  • 22
  • 20
2
votes
1 answer

Add some (Master) Shapes to another (Master) Shape in Microsoft Visio 2013 x64 when add a (Master) Shape to the Page

I want to create a new Master Shape in the Microsoft Visio 2013 x64 like the Class Master Shape in the UML Class Stencil. When add the Class Master Shape to a page, it appends two Member and one Separator Master Shapes in itself automatically.…
MRS1367
  • 1,053
  • 1
  • 14
  • 40