views:

1515

answers:

3

Is there such a thing as a VB 6.0 decompiler?

If so are there any free products that do this?

+1  A: 

You could try your luck on the Visual Basic Decompilers page of the Program Transformation wiki.

Mihai Limbășan
+1  A: 

VB6 compiles to machine code, so all you would be able to do is disassemble it.

http://en.wikipedia.org/wiki/Disassembler

There are some tools that claim to parse and translate the machine code, but I have never tried those.

Dana Holt
Compiling to machine code is an option. You can also compile to P-code. Decompiling P-code is more plausible, though I don't know whether any of the decompilers out there actually work.
MarkJ
I totally forgot about P-Code. :) I've done almost zero VB6 programming. Mostly used it to test C++ COM components.
Dana Holt
+1  A: 

Vb 6 compiles to native EXE files, not P-Code. Therefore you'll be hacking ASM.

Alan B