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 - vermeirl

Pages: [1]
1
General Board / Re: Display attribute notes in class diagram?
« on: June 21, 2005, 09:45:30 am »
Right click class
Select Attach note
An empty note appears
Right click the dotted line joining the note to the class
Select Link to an element feature
Choose the attribute

HTH
Luc
Belgium

2
Automation Interface, Add-Ins and Tools / Re: COM Exception
« on: November 19, 2011, 04:24:06 am »
Geert,

Thanks.
1. Not sure about the constructor being hidden. This line of code worked fine previously. Create a new repository object, and then call R.Openfile() and you're in business. No need for EA to be active.
2. Regsvr32 failed, but regasm worked. Unfortunately, problem remained.
3. Followed your suggestion and installed EALite. Bingo! It works (which proves my point nr. 1).

So I guess you need at least a local EA install for automation to work.
I would appreciate it if somebody from Sparx could confirm this.

Luc

3
Automation Interface, Add-Ins and Tools / COM Exception
« on: November 18, 2011, 11:35:36 pm »
I tried to build the smallest possible VB.net app (VS2010 on Windows 7):

Public Class Form1
    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        Dim my_rep As New EA.Repository
    End Sub
End Class

It compiles fine, but I get a runtime error: COMException 0x80040154: can't find COM classfactory.

Question: does Interop.EA.dll need to be registered on my machine?

Remark: apart from the Interop.EA.dll, there is absolutely no EA-related code on my local disks; could this be an issue? Previously, on XP and VS2005, everything worked fine, but then I had a local install of EA.

Regards,
Luc Vermeiren
Belgium

4
There is a thread in the General Board section which describes this problem ("order is not maintained")

5
I believe there's a fundamental problem here.
We have the corporate edition and we use a SQL Server database.
When I open the model, change the order of elements in a package (using the GUI), close the model and open it again, my changes are lost.
When I do the same thing in a local EAP file, the changes are permanent.
Also, when I open our SQL Server model in my version 5.0, I get a different ordering of the packages in the tree than when I look at the model with version 4.51.

Luc

6
According to the documentation, the attribute TreePos sets or gets the position of the element in the ProjectView tree. But when I try it, it has no effect whatsoever; although column tpos in table t_object has changed; but the GUI displays the classes in a seemingly random order. When I alter the order in the GUI (clicking on the little hands) though, I can see that column tpos gets adjusted! So it seems that the GUI doesn't use column tpos to determine the order of display, but does update that column when you alter the order. (version 5.0)
Any comments?

Luc Vermeiren
Belgium

Pages: [1]