Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: PiperPilot on May 21, 2008, 01:18:58 pm

Title: Importing a VB6 project
Post by: PiperPilot on May 21, 2008, 01:18:58 pm
I wish to import a VB6 project but I have notieced that I can only import .cls and .frm which is a problem. The project has many .bas (class modules) files as well.

How can I overcome this so that .bas will be imported?
Can EA draw relationship diagrams of modules from a VB6 project?

Also, it would be nice to import .vbp so can someone explain why .vbp cannot be imported please?

Regards
Title: Re:  Importing a VB6 project
Post by: Aaron B on May 21, 2008, 03:30:11 pm
".vbp" files are project files, not source files.  ".bas" files can be imported by EA 7.1.  In Tools | Options, try setting the Import File Extensions setting for Visual Basic to ".cls;.frm;.ctl;.bas;".  See Visual Basic Options (http://www.sparxsystems.com/EAUserGuide/cgo_vb.htm).

The only way to synchronize with a project file is by using something like our MDG Link Add-Ins (E.g. MDG Link for Visual Studio).  Unfortunately though there is no MDG Add-In for VB6 projects.
Title: Re:  Importing a VB6 project
Post by: PiperPilot on May 21, 2008, 07:30:22 pm
Hi, that worked perfectly. Thanks