Book a Demo

Author Topic: Reverse Engineering Visual Basic 6.0 (not VB.NET)  (Read 5430 times)

vijayvrr_2001

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Reverse Engineering Visual Basic 6.0 (not VB.NET)
« on: March 10, 2008, 11:32:37 pm »
Hi Experts,

I am trying to figure out how to "Reverse engineer" (generate sequence diagrams) for a VB 6.0 (not VB.NET) application. I can see useful instructions for JAVA / .NET based apps, but I could not find much of tutorials for VB 6.0 apps.

Can somebody here please point me to some online / sample / projects where from i can get the required settings / other required information?

Thanks in advance

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Reverse Engineering Visual Basic 6.0 (not VB.N
« Reply #1 on: March 11, 2008, 12:07:03 am »
Hi Vijay,

At this time - perhaps things will change in future revisions - there is no COM equivalent for Import Binary Module.

You might want to look at the release notes for the EA 7.1 beta releases. Or wait for the production version and check them then.

If you do, check the Latest News section of the forum to find the notes.

David
No, you can't have it!

vijayvrr_2001

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Reverse Engineering Visual Basic 6.0 (not VB.N
« Reply #2 on: March 11, 2008, 12:21:07 am »
Hi David,

Thanks for the quick reply. Appreciate that. Pardon If my question is naive, But I am afraid I did not understand the answer.

Are you saying that you "cannot" generate Sequence diagrams for VB6.0 with the version that I have (EA - 7.0) ?

Coz, As per EA help guide :
Enterprise Architect currently supports reverse engineering in the following programming languages

· ActionScript
· C#
· C++
· Delphi
· Java
· PHP
· Python
· Visual Basic
· Visual Basic .NET

What does the above mean. All I am interested is to be able to run the VB exe, put a breakpoint somwhere in the code, and then click a button and get the sequence diagram. (Similar to what I do in VB.NET / C# or Java apps).

What am I missing?

Thanks for the patience and valuable time spent for answering.

« Last Edit: March 11, 2008, 12:23:04 am by vijayvrr_2001 »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Reverse Engineering Visual Basic 6.0 (not VB.N
« Reply #3 on: March 11, 2008, 01:06:08 am »
Oops Vijay,

Some of this is my fault, as I did not read your original post correctly. I was only talking of the Import Binary Module function, not specifically the question of sequence diagrams.

NB: I may be wrong on the next point. Still, I don't think you can do this - create sequence diagrams - from running code, outside of the Java and .Net areas. To me this feature seems to be built on the same foundation as the binary module stuff.

The important thing to remember is that although EA supports many code languages, the level of support varies. This variance does not always originate with Sparx, it often relates to limitations of the languages themselves.

EA does not generate sequence diagrams - or at least it does not generate them in many circumstances - from COM code. It does however allow some COM Interop and Native code applications to be run in a debugging session. Perhaps you will be able to use that.

Look up Debug and Profile in EA Help.

David
No, you can't have it!

vijayvrr_2001

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Reverse Engineering Visual Basic 6.0 (not VB.N
« Reply #4 on: March 11, 2008, 01:10:23 am »
Thanks again David. Appreciate your prompt and quick reply.