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

Visio NURBS formula

I have trouble deciphering the individual parameters of the NURBS formula in the shapes NURBSTo entry (used for splines - curved edges). MS Visio documentation didn't help too much. The number of parameters is variable depending on the complexity of…
Mate E.
  • 396
  • 2
  • 10
3
votes
1 answer

How to hyperlink Visio Characters object

I'm working on a VBA macro to automatically add hyperlinks within a drawing file, so that when a certain word is mentioned in the text, I can link to another page in the drawing. According to MSDN and Visio's help, a Hyperlink object can be…
Jon Fournier
  • 4,299
  • 3
  • 33
  • 43
3
votes
3 answers

Maintain aspect ratio and relative position in a Visio group

I'm currently creating a custom container shape in Visio 2010 but having some trouble getting the correct resizing behavior. My container consists of a main rectangle and a small triangular shape at the top right (see image). Both these shape are…
Kevin Meiresonne
  • 85
  • 1
  • 1
  • 6
3
votes
3 answers

Visio 2003: relationship arrow to connect 2 tables in Database ER diagrams

I am trying to model relationship between 2 tables Orders and OrderDetails. I draw "relationship" arrow from OrderDetails to Orders table with Foreign key OrderID. But in DatabaseProperties for relationship arrow, I get unknown parent and unknown…
dotnet-practitioner
  • 13,968
  • 36
  • 127
  • 200
3
votes
1 answer

How to import mysql sql file into microsoft visio 2007?

Does anyone know how to import a mysql sql file into microsoft visio 2007, and then generate a database chart automatically? Thanks a lot.
SUN Jiangong
  • 5,242
  • 16
  • 57
  • 76
3
votes
2 answers

visio stencil for Handdrawing web Mockup

Can any one suggest me a hand drawn/sketch formatted Visio stencil? i.e. One that looks like a hand drawn sketch. I have seen some Web UI wire frame done using some hand drawn tool which looks very much impressive when we can present the UI sketch…
pravat
  • 41
  • 1
  • 2
  • 3
3
votes
0 answers

"Class not registered" exception when using the “AxDrawingControl” from the dll “AxInterop.Microsoft.Office.Interop.VisOcx.dll” (v4.0.30319)

I am getting the below exception when using the AxDrawingControl from the dll AxInterop.Microsoft.Office.Interop.VisOcx.dll (v4.0.30319) in my application: System.Runtime.InteropServices.COMException occurred HResult=-2147221164 Message=Class not…
3
votes
1 answer

VBScript automating Visio: How to move dynamic glue to another shape?

I am currently triying to automate Visio by using VBScripts. I have a visio shape "Start" having an existing connect "Verbindung" pointing to "BeginX" and targeting to "PosX" (therefore having a dynamic end). I do NOT manage to modify the dynamic…
murxx
  • 271
  • 1
  • 5
  • 9
3
votes
2 answers

How to force visio to re-evalute formulas when an untrusted visio document is opened

I have a module that creates a Visio file (VDX) outside Visio. According to the SDK this refers to 'untrusted' XML. I've created my xml file by copied the Masters from my stencil and then refer to them using an XML sparse file. In my sparse xml I…
Eric Hudon
3
votes
2 answers

Visio 300+ pages, split into 300+ separate docs, or print to pdf, export to jpg/gif

I created 300+ page Visio drawing by importing data to create 300+ "org charts". I say "org charts' bc they are actually drawings of a Crystal Report as 'CEO' and its datasource tables and fields as "employees". I now have one huge Visio file with…
curtisp
  • 2,227
  • 3
  • 30
  • 62
3
votes
1 answer

Adding Attributes to Visio UML Interface Like a Class

Is it possible to add attributes to a Visio (in my case 2007) UML diagram Interface object? It shows operations in its properties dialog, but alas no Attributes section. I am really hoping someone has thought of a way around this (without looking…
bjhuffine
  • 924
  • 1
  • 11
  • 23
3
votes
2 answers

Insert Sharepoint 2010 property in Visio diagram?

Is there any way to insert the Sharepoint Document ID property into a Visio diagram? We use it for unique identification of documents and would like it to be printed on all diagrams. Best regards, Gustav
3
votes
1 answer

Change connector style

I want to highlight connectors of a Shape object, but it doesn't give me any LineStyle properties for the connector itself. Here's what I got so far: For i = 0 To UBound(lngShapeIDs) Dim shp As Shape Dim connect As connect Set…
Alex
  • 475
  • 1
  • 5
  • 16
3
votes
2 answers

Display primary : foreign key relationships in Visio database diagram

I've created a Database Model relationship diagram in Visio with tables and relationships. However, I can't find any way to automatically display the Primary Key :: Foreign Key relationship in the diagram. The only workaround I can find is to…
hurleystylee
  • 602
  • 1
  • 10
  • 18
3
votes
3 answers

Generate Visio compatible XML (VDX) with ASP.NET

I need to create a web page (.aspx) that creates a Visio compatible XML (VDX) filed, based on my application data, and sends it to the user. I suppose to: Create once with Visio a .VDX template (that will be stored in App_Data…
Emanuele Greco
  • 12,551
  • 7
  • 51
  • 70