I lost the source code from one project I did on the company I'm working for and haven't been able to find a Visual Basic 6 decompiler; does that even exists?
I only have the EXE that I've rescued from a user's machine.
vaxquis
8,07955 gold badges4040 silver badges5858 bronze badges
RismoRismo
2,93699 gold badges3232 silver badges3232 bronze badges
6 Answers
For the final, compiled code of your application, the short answer is “no”. Different tools are able to extract different information from the code (e.g. the forms setups) and there are P code decompilers (see Edgar's excellent link for such tools). However, up to this day, there is no decompiler for native code. I'm not aware of anything similar for other high-level languages either.
Konrad RudolphKonrad Rudolph
411k103103 gold badges805805 silver badges10511051 bronze badges
This link provides a lot of resources for VB6 Decompiling, but it seems like it will depend greatly on what you DO have (do you still have the pre-link Object code [EDIT: er.. p-code I mean], or just the EXE?) Either way, it looks like there's something, take a look in there.
EdgarVeronaEdgarVerona
I have used VB Decompiler Lite (http://www.vb-decompiler.org/) in the past, and although it does not give you the original source code, it does give you a lot of information such as method names, some variable strings, etc. With more knowledge (or with the full version) it might be possible to get even more than this.
Jonathan WilliamsJonathan Williams
1,37511 gold badge1515 silver badges2222 bronze badges
Did you tried the tool named VBReFormer (http://www.decompiler-vb.net/) ? We used it a lot past year in order to get back the source code of our application cuz we lost the source code of our application 6 years ago and it worked fine. We where also able to made some user interface changes directly from vbreformer and save them into the exe file.
Daniel VankoughnettDaniel Vankoughnett
In my own experience where I needed to try and find out what some old VB6 programs were doing, I turned to Process Explorer (Sysinternals). I did the following:
This didn't show the actual functions, but it listed their names, folders of where files were being copied from and to and if it accessed a DB it would also display the connection string. Enough to help you get an idea, but may be useless for complex programs. The programs I was looking at were pretty basic (no pun intended).
YMMV.
BRNDRBRNDR
Yes I think You can get it download and separately its Help files from: vbdecompiler.org Site. and there is a Video on YouTube which explains how to Use it to Get the Code from an exe file and Save it.I hope that I helped.
MohamadMohamad
Not the answer you're looking for? Browse other questions tagged vb6decompiling or ask your own question.From DotFix Software:
VB Decompiler is decompiler for programs (EXE, DLL or OCX) written in Visual Basic 5.0 and 6.0 and disassembler for programs written on .NET technology. As you know, programs in Visual Basic can be compiled into interpreted p-code or into native code. .NET assembly always compiled to just in time compilable IL code. Since p-code consists of high-level commands, there is a real possibility to decompile it into the source code (of course, the names of variables and some functions will not be decompiled). VB Decompiler restores source code from p-code as much as possible precisely. And after some modifications you may try to compile generated code. If a program was compiled into the native code, restoring full source code from machine instructions is not possible. But VB decompiler can help to analyze the program even in this situation as well. It contains a powerful disassembler and emulator. This powerfull engine try to decode most assembler instructions to most likely VB commands.
What do you need to know about free software?Decompiler of Visual Basic programs. Decompiling forms, p-code, native code rapidly in order to provide the perfect environment for debuggingWhat's new in VB Decompiler Lite 11:
VB Decompiler Lite is a Visual Basic decompiler and .NET disassembler aimed at analyzing code at fast speed. It includes a powerful engine that decodes instructions to possible Visual Basic commands, allowing you to reconstruct your projects.
There are many situations that require the use of such a tool, ranging from misplaced source code to attempts of improving the performance of your code. No matter the circumstances, you can rest assured that you’ll find great assistance in VB Decompiler Lite, a tool especially built for developers in need of a strong disassembler.
VB Decompiler Lite is able to handle EXE, DLL and OCX files built with Visual Basic 5 and 6, as well as projects compiled in .NET technology. Please note that the decompilation process can be performed on x32 machines only, even though the application runs on x64 versions.
As soon as you add a file (using the dedicated menu or by drag and drop), VB Decompiler Lite instantly analyzes the code and displays it in a tree-view before you know it. You can view the code, but you cannot edit it on spot; an alternative is to export it and then modify it.
Export options include saving the procedure list, saving all the code in one module or the decompiled project only. Other highlights include an advanced search string feature, the possibility to patch data or to obfuscate the project.
So it is going to be one of those games where a genocide occurs just depleting manpower pools. I have literally gotten more artillery from stealing it than making it. Pictured: Fortress Bavaria, where we bless the syntethic oil refinery and wonder what this resource called tungsten is called.It's worse than it looks BTW. And the CAS is currently taking a rest because I'm spending a bit of time refilling the oil reserves because once the great push can begin, I am going to need basically all of it to stand a chance.Oh, and China is in the german faction. The bad news?Still surrounded on literally all fronts. Ck2 earlier start date.
The functionality of the application is extended by the built-in plugins that allow you to create a MAP file, to show references or to set the decompiler priority.
On an ending note, VB Decompiler Lite can make the day of any programmer, by offering advanced features to disassemble, analyze and export code in an attempt to recover old projects that you lost the source code to.
Filed underLIMITATIONS IN THE UNREGISTERED VERSION
![]()
Visual Studio Dll DecompilerAndreea MateiVisual C++ Decompiler
4.0/5
VB Decompiler Lite is part of these download collections: File Decompilers
top alternatives FREE
top alternatives PAID
Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy
VB Decompiler Lite 11.2add to watchlistsend us an update
5 screenshots:
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |