visio

is this a flaw?

一曲冷凌霜 提交于 2020-01-06 13:50:51
问题 In Visio I can only alter one side of the relationship. If I want a "1-M" relationship, I have to choose "Identifying", but this automatically makes the FK becomes PK, which doesn't seem right to me. Someone with the same problem said it was a flaw, so there is no way around it in visio? 回答1: Make sure "Required" is checked for the foreign key column(s) in the column list in the child table. If you do that you should see the relationship depicted as: -II--O<-, which I guess is what you want.

Accessing Visio UML Data

女生的网名这么多〃 提交于 2020-01-06 02:38:11
问题 I'm using Visio 2013 Professional trial, I would like to be able to read the data to use it elsewhere. Preferably XML, but as long as I can read it I don't really care. Is there a way I can do this? My goal is to create UML Diagrams in Visio, and then be able to extract the data for automatic code generation. I've searched online and every source seems to tell me or imply that Visio has an in-built XML format, but I don't seem to have it. Is it something I'm missing due to trial version, was

open a fileDialog in visio vba

試著忘記壹切 提交于 2020-01-05 15:20:06
问题 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 strPath As String 'Boite de dialogue pour choisir où enregistrer son fichier Set dlg = Application.FileDialog(msoFileDialogFolderPicker) With dlg .InitialFileName = Application.ActiveDocument.Path .AllowMultiSelect = False .Title = "Choisir le répertoire d

Sequence Diagram for Login MVC Webapp

泪湿孤枕 提交于 2020-01-05 09:29:08
问题 i want to make a sequence diagram, which shows the login process in an .Net MVC Webapp (i.e. webshop). I am quite new to UML modeling, so i am not sure, how to build the interaction between, Controller, model and view. I found different solution online. Here are some question i have: Does the client interact with the view, or directly with the Controller (in my test Trial the client interacts with the Controller)? For the loginvalidation: In my test Trial the Controller ask the model, if the

Visio Drawing Control Fails in Visual Studio 2012

与世无争的帅哥 提交于 2020-01-05 07:26:47
问题 I am having trouble using Visio 14.0 Drawing Control (Visio 2010) in Visual Studio 2012. It looks like there is a bug in VS2012 using this control. You can reproduce this easily by starting a new win form application, then from toolbox choose Microsoft Office 14.0 Visio Drawing Control and drop it on the form. As soon as you drop it you will get this error: "error hresult e_fail has been returned from a call to a com component" 回答1: Just in case someone else have the same problem, this is a

Visio Drawing Control Fails in Visual Studio 2012

筅森魡賤 提交于 2020-01-05 07:26:06
问题 I am having trouble using Visio 14.0 Drawing Control (Visio 2010) in Visual Studio 2012. It looks like there is a bug in VS2012 using this control. You can reproduce this easily by starting a new win form application, then from toolbox choose Microsoft Office 14.0 Visio Drawing Control and drop it on the form. As soon as you drop it you will get this error: "error hresult e_fail has been returned from a call to a com component" 回答1: Just in case someone else have the same problem, this is a

How to read Visio Document content in C#

痞子三分冷 提交于 2020-01-03 15:54:20
问题 My DLL library code is as follows: using System; using IVisio=Microsoft.Office.Interop.Visio; namespace Emix { public class Visio { protected String path; public Visio(String path) { this.path = path; } public void open() { try { IVisio.Document doc = new IVisio.Application().Documents.Add(this.path); Console.WriteLine("Number of pages: " + doc.Pages.Count); } catch (Exception e) { Console.WriteLine(e.Message); } } } } However, this code opens the Visio editor and then displays the number of

Adding Shapes to a New Visio Document

我的梦境 提交于 2020-01-01 06:08:35
问题 I have this code that creates a new Visio document and adds a rectangle. It works, but I don't like having to open another document to get the Masters collection from it. The issue is the new document has an empty Masters shape collection. I couldn't find a method in the Document class to add shapes to the Masters collection and all the examples I could find for adding shapes assumed you had an existing document. Is there a better way to do what I want? // create the new application Visio

Adding Shapes to a New Visio Document

▼魔方 西西 提交于 2020-01-01 06:06:08
问题 I have this code that creates a new Visio document and adds a rectangle. It works, but I don't like having to open another document to get the Masters collection from it. The issue is the new document has an empty Masters shape collection. I couldn't find a method in the Document class to add shapes to the Masters collection and all the examples I could find for adding shapes assumed you had an existing document. Is there a better way to do what I want? // create the new application Visio

Reverse Engineering a C# Solution

China☆狼群 提交于 2020-01-01 03:27:11
问题 I know Visual Studio 2010 Ultimate has some abilities, and I would normally do this by instinct, but I am on a very tight schedule. I also have Visio 2010 installed and integrated into VS, but its reverse engineer function doesn't seem to do much, and has to be run on a per project basis, and a hindrance here is the solution structure, with several solution folders each holding a multitude of projects. I would like some advice on how to go about reverse engineering a C# solution into