Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - charge

Pages: [1] 2
1
General Board / Re: Version control problem, package is locked
« on: February 16, 2007, 12:41:02 am »
You can remove all locks via de Project --> security --> Manage locks menu!

2
General Board / Re: Data Model
« on: November 05, 2004, 03:14:09 am »
a automated solution would be nice....
We created a tool to do this via the automation interface, but is't not that simple  :-/
Perhaps post it as a suggestion !

3
We use the apply/release User Lock functionality in the corporate version. I can't find a way to lock and edit element via the automation interface.... (only via the dirty way to edit the database directly)

4
I am trying to use the VersionControlCheckout method on the package, but I get this error: "Invalid rectangle (Exception from HRESULT: 0x8004000D (OLE_E_INVALIDRECT))"

Any Idee's?

5
ahum...

I'm using it and it works fine.

If you add elements, you have to refresh the package first !

6
Automation Interface, Add-Ins and Tools / Re: Database automation
« on: May 19, 2005, 12:56:20 am »
Open the EAP file in MS Access and you can find the fields you have to use.
It's Q&D but it's possible  ::)

7
You have to do more than this... I have it working now

8
I'm having a problem on generation DDL when i import the datatables via a Add-in


my code to insert a table in EA
---

eaElement = col.Addnew("TableX","Class")
eaElement.stereotype = "table"
eaElement.Gentype = "SQL Server 2000"
eaElement.Update

....
add fieds....
....

eaElement.Update


When I check the EA database on table t_object, field 'PDATA2' has also to be set to 'SQL Server 2000' to have correcr DDL generation, but it's not done via the Add-in inteface.
When I open the table element in theEA interface and close it agian, this value is set in the EA database and the DDL generation works fine... :-/

How can I set this 'PDATA2' field via the add-in interface ?

Thanks!

9
addins are supported in the trial edition

10
Nick,

You should try this using the latest version. Up from EA 4.5 you have to change your project references to the  Interop.EA.dll from EA and then it works fine. You can find this file on C:\Program Files\Sparx Systems\EA\Interop.EA.dll

The Q&D way is to change the values in de datafile (you can open EA as a Access MDB and then change de values)

Peter.

11
Automation Interface, Add-Ins and Tools / Re: Error Using .NET Add-ins
« on: January 31, 2005, 01:46:39 am »
using 'object' as return type doesn't fix the problem. You should use the  Interop.EA.dll from EA and then it works fine !

12
Automation Interface, Add-Ins and Tools / Re: Error Using .NET Add-ins
« on: October 19, 2004, 04:22:59 am »
The likely reason for this error is that they have improved the interface to .net, and are now providing a strongly typed assembly: Interop.EA.dll.

You should de-reference EA in your VS project, and reference Interop.EA.dll from \program files\sparx systems\ea.

The interop file you compile with should also be included with your installations.

13
Automation Interface, Add-Ins and Tools / Error Using .NET Add-ins
« on: October 08, 2004, 02:24:20 am »
There is no variant type in .NET

When I create an add-in in VB.NET I have to implement the interface EA_GetMenuItems(....) as Variant in a COM class

Until version 4.10.737 I used string() as returntype. In version 4.10.738 it does no longer work.

Any suggestions to fix this problem???

14
Why don't you use 4.50  ???

15
Automation Interface, Add-Ins and Tools / NOT NULL Columns in Data Model
« on: December 08, 2004, 06:57:11 am »
I want to use the flags'NOT NULL' and 'Unique' to convert <Table> columns to <class> attributes and associations.

Where can I find these flags in the automation model?


Pages: [1] 2