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

Pages: [1]
1
Paolo,
thanks. Works now to that point. I will take a deeper look in my vb book to avoid another question like that  ;).

Hauke

2
Quote
Hi,

You have a choice: Repository.GetTreeSelectedItem or Diagram.SelectedObjects, depending on whether you want the objects selected in the Project View or on the diagram.

Neil


Hi,
could you please give an example for that. I've got the problem, that the GetCurrentDiagram-Method doesn't work for me (f.e. when selecting a Use Case in the Diagram View).

For being a VB Newbie maybe I'm doing a basic thing wrong. This is my code:

Code: [Select]

Sub Set_Object_As_Source(ByVal Repository As EA.Repository, ByVal Location As String)
   [...]
   Dim currentDiagram As EA.Diagram
   [...]
   Case "Diagram"
               currentDiagram = Repository.GetCurrentDiagram()
   [...]


The last line causes error '91 - Object variable or With block variable not set'.

What am I doing wrong?

I would appreciate any help. Thanx.

Hauke Altmann

3
Automation Interface, Add-Ins and Tools / Add-In examples using C++
« on: March 17, 2005, 07:21:16 am »
Hello,
I'm searching for some examples of add-ins written in C++.  I just found VB examples until now. Can anyone help me out?
best regards,

Hauke Altmann

Pages: [1]