Link to home
Start Free TrialLog in
Avatar of jadeia
jadeia

asked on

Uncompiling VB exe files?


Is it possible to take a compiled VB exe file, and "decompile" it back into source code?

Avatar of Sethi
Sethi
Flag of India image

Nope. There is no VB6 compiler.
Avatar of jadeia
jadeia

ASKER


For VB5 - I heard one exists that works well for small executables?
SOLUTION
Avatar of Sethi
Sethi
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The 'code' ( and I hesitate to give it that HIGH a rating), in the first link is TOTAL TRASH.  The author has NOT bothered to use Option Explict, and has not bothered to rename ANY of the controls, from thre defaults that they are given by Visual Studio.  DOn't waste your time trying to make any sense out of what is there, as it is garbage.

AW
as for the second link, this is a direct quote:

VB RezQ recovers the procedure declaration but not its executable code.

and without the EXECUTABLE code, what have you gained?  almost nothing.

AW
Avatar of jadeia

ASKER

*nods in agreement*

I thought as much, and appreciate the feedback.
if you can decompile it to ASM you can Convert the ASM to VB Code...This would not be easy to do, but it is possible.


-Brian
actually, trying to convert ASM back to the original VB.NET code would be VERY VERY difficult, as the Compiler does quite a bit of optimization, and that makes the reverse ALMOST impossible.

AW
You would not be able to get it EXACTLY back to the original but you could use similar code to accomplish the same task. It is very possible...and we are talking about vb6 not .NET, I am not very familiar with .NET.


-Brian