Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Open the Repository
Topics
Topic |
Detail |
---|---|
public Object |
''An example of how to open an Enterprise Architect repository ''in VB.Net.
Public Class AutomationExample
''class level variable for Repository Public m_Repository As Object
Public Sub Run() try ''create the repository object m_Repository = CreateObject("EA.Repository")
''open an EAP file m_Repository.OpenFile("F:\Test\EAAuto.EAP") ''use the Repository in any way required 'DumpModel
''close the repository and tidy up m_Repository.Exit() m_Repository = Nothing
....catch e as exception Console.WriteLine(e) End try End Sub end Class
|
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2013 Sparx Systems Pty Ltd.