Author Topic: Importing a VB6 project  (Read 675 times)

PiperPilot

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Importing a VB6 project
« 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
« Last Edit: May 21, 2008, 01:20:49 pm by ldeutsch »

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 868
  • Karma: +11/-0
    • View Profile
Re:  Importing a VB6 project
« Reply #1 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.

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.
« Last Edit: May 21, 2008, 03:34:50 pm by AaronB »

PiperPilot

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re:  Importing a VB6 project
« Reply #2 on: May 21, 2008, 07:30:22 pm »
Hi, that worked perfectly. Thanks