vb6 exe  to reverse code to see project

Posted on 2011-04-18
Medium Priority
Last Modified: 2012-05-11

I have an old vb6 project...
that is in "exe"

Is there way to breakdown this exe code in vs8 or a third party program ?

Question by:Fordraiders

Accepted Solution

EYoung earned 500 total points
ID: 35420240
Maybe programs like this can help:


Best of luck
LVL 11

Assisted Solution

kbirecki earned 500 total points
ID: 35420314
It is extremely unlikely that you will get anything useable out of an exe.  There are many other people that have asked this same question on this site, as well as others.  what you think of as vb code no longer exists once it is compiled to an exe.    The best you would get out of it would maybe be some kind of low level stuff, but no where near vb code.  You're better off documenting the app and rewriting in your language of choice.  Sorry to be the downer, but I've tried and I've seen many others try - save your time for something more fruitful.
LVL 15

Assisted Solution

Russell_Venable earned 500 total points
ID: 35422837
You won't get anywhere unless you know a good amount of assembly(very low level) and you know what functions are being called along with program's code flow.

There are a few older decompilers for VB6 but you still need to know asm to get anything well worth out of it.

VB5 and VB6 are compiled into P-Code. Your best bet is to look for a P-code decompiler. If your lucky enough to find a copy of it. http://www.program-transformation.org/Transform/DoDi DID create a VB6 decompiler it broke down ti the tokens and then tranlates the modules to readable code again. Which is recompilable. Trick is finding the executable. I can't give you direct advice as for one I don't know if you are the true owner of the source code nor is it legal to provide a tool like this. It is legal however to give you hints as it is not telling you how it is done just mearly a shove in the right direction. If you find Dodi and he is still doing his service it will cost you $100 w/ proof of ownership. Atleast that is what it was when I was talkin with him in 2004.


Assisted Solution

kambleamar earned 500 total points
ID: 35424084
I know FXcop does a reverse engineering and also code reviews it

Author Closing Comment

ID: 35424561
Thanks to all

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Loops Section Overview
Screencast - Getting to Know the Pipeline
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question