Microsoft KB Archive/278956

= Visio2000: Phantom Relationships in Classes with VB6 to UML Reverse Engineering =

Article ID: 278956

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Visio 2000 Professional Edition
 * Microsoft Visio 2000 Enterprise Edition

-



This article was previously published under Q278956



SYMPTOMS
When you reverse engineer VB6 projects to UML models in Visio, if relationships among classes span different projects (for example, an interface class in one project and its implementer class in another project), some &quot;phantom&quot; classes (for example, an extraneous, erroneous interface class) will appear in the UML model.



RESOLUTION
You will want to delete those &quot;phantom&quot; classes. When you do so, however, be careful not to enter into an inconsistent state from which it will be difficult to recover.

Before you delete an element from the UML Navigator tree, you should know all the relationships that that element is in. In order to determine the relationships, follow these steps:


 * 1) Select the diagram window (not the UML Navigator) in Visio.
 * 2) On the UML menu, click Report.

NOTE: Visio 2000 Professional Edition does not have Report capability. If you are running the Professional edition, you must drag all elements in the Static Model onto the diagram. Skip to step 5.
 * 1) Select UML Static Structure Report, and then click Preview.
 * 2) Find the element that you want to delete, and inspect it for other elements that have a relationship with it.
 * 3) Drag all of these elements, including the element that you want to delete onto the diagram surface. The relationships will become visible.
 * 4) Delete (or redirect) all relations away from the element that you want to delete.
 * 5) Delete the element from the UML Navigator.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: prb uml classes dangling relationship phantom vb6

Keywords: kbbug kbpending KB278956

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.