visio

JNI_ENOMEM from JNI_CreateJavaVM when calling dll that uses JNI from VB6

I work on a legacy system that has a VB6 app that needs to call Java code. The solution we use is to have the VB app call a C++ dll that uses JNI to call the Java code. A bit funky, but it's actually worked pretty well. However, I'm moving to a new dev box, and I've just run into a serious problem with this. The built VB app works fi...

How to create a program on top of Visio?

Is it possible to make a standalone/independent (from visio) program that is built on visio. Say, can i attach some of the design templates and visio drawing page on to my form?? Thanks ...

exporting SQL from a Viso diagram

Is there a method to export SQL statements from a Viso 2003 entity-relationship diagram? ...

Visio class diagram

I'm using Visio class diagram. Is there a way to automatically layout the elements on the canvas? I want to group a few classes under some square to visually show that they belong to the same package. How to do it? ...

Visio Question? Is there a way to set the property of something to Always be in Front?

So you can arrange items to be in the back or front, is there a way to set it to always be Front? ...

Renaming a database model in Visio 2003

I have to translate a datamodel i Visio from one language to another. This can be done by using Edit -> Replace, but it only modifies the visual representation. The values in the database properties are not changed. That becomes a problem when Visio updates the layout and writes the values from the properties to the ER diagram. How can ...

Hosting Multiple Drawings in one Visio vsd Diagram

I'm using Visio 2007 and strawed creating some flowchart diagrams. One on each page. For the same project I would also like to create class and entity relational diagrams. Is it possible for me to have multiple drawing types in a single vsd? I tried creating an ERD by adding the Entity Relational shapes to my palette, but when I dragge...

How can I embed a Visio 2007 editing control in my C# (.Net 3.5) application?

I would like to embed a Visio editing interface in my C# form. The best instructions I have found so far are from here: http://msdn.microsoft.com/en-us/magazine/cc164043.aspx but they are outdated. The biggest problem I am having is trying to determine which control I actually need to add to my toolbox so I can drag and drop it to my for...

dynamic connectors in Visio .vdx files

Hello, currently I try to understand vdx files, because in future I want to generate my own. I now have problems with dynamic connectors. When defining them like follows: <Shape ID="46" Type="Shape" Master="10"> <Geom IX="0"> <MoveTo IX='1'></MoveTo><LineTo IX='23'></LineTo></Geom> </Shape> .... <Connect FromSheet="45" FromCell="BeginX...

Is there anyway to generate a database diagram from a SQLite database?

For example, is there a way to import a SQLite db into Visio? Or some other tool that can generate a diagram? Can it be done using VS2010? ...

Create Visio diagram in an ASP.NET application

Hi everyone! I need to create Visio diagrams on the server-side. But Microsoft strongly discourages usage of automation in server scenarios. What should I be looking at? (SharePoint 2010 services is not an option for me). Thanks in advance. ...

Create table / grid in a Wireframe Visio 2010 diagram

I'm loving the added Wireframe template and corresponding shapes in Visio 2010. One thing I can't seem to find though (not in Visio, Office help or using Google) is a good way to draw tabular controls. The only built-in shape that comes close is a List Box of which I can link several together. However this has several disadvantages as t...

Visio shape - get X,Y position

Hi All, I've managed to programatically insert a shape into Visio using the code below: ActiveWindow.Page.Drop(VisioApp.Documents["ORGCH_M.VSS"].Masters.ItemU["Executive"], 5.433071, 7.559055); How would i programatically retrieve it's X,Y coordinates after the shape has been inserted? Thanks! ...

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? ...

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 drawing? thanks Dim visioApp, visioPage as Object Set visioApp = CreateObject("visio.application") vi...

Insert Space between Shapes and Connectors in Visio

Hi, I'd like to automatically pad my shapes with some space so that connectors (e.g. arrows) do not touch the shape, but instead are a few pixels away. This can be achieved by moving the shape connector points away from the shape, but this is a manual, time consuming process which needs to be done per shape which I would like to avoid....

How do I parse Visio drawings using .Net?

We already have several (100+ pages) of drawings in the same format that describe interconnecting systems. Instead of pounding keys for 3 months transferring these relationships to a spreadsheet, I would like to parse the Visio drawings directly. Is there a library dedicated to Visio that would accomplish this? Am I just missing somethi...