By Rismo


2009-01-05 18:38:52 8 Comments

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.

6 comments

@Mohamad 2019-01-09 07:46:05

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.

@BRNDR 2018-12-14 21:59:45

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:

  1. Run Process Explorer
  2. Run VB6 .exe
  3. Locate exe in Process Explorer
  4. Right click on process
  5. Check the "Strings" tab

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.

@Daniel Vankoughnett 2014-12-31 13:04:28

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.

@MarkJ 2015-01-01 15:26:50

@antyrat in this case the link is the essential part of the answer. If the linked page changes the answer is useless.

@Mr.J 2016-12-29 06:33:01

Free edition gives you a good clean look for the GUI, but variables and statements are blocked. Maybe if you paid them, it would be a different look in terms of your code. But I also noticed that some codes are not supposed to be there.

@Sushil Jadhav 2018-12-13 10:52:12

link not working. I used this link

@Jonathan Williams 2011-08-02 17:06:13

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.

@Don Vince 2012-09-04 08:23:53

This one was handy for me - it outputted a whole bunch of assembler looking code; but I was after the strings and they were easy to lift from the decompiled code.

@Jonathan Williams 2012-09-07 11:30:49

Yes, I too was after some 'hardcoded' strings, so this tool really helped me.

@Steve's a D 2014-11-20 21:51:52

This was awesome, and exactly what I was looking for. Thanks!

@Konrad Rudolph 2009-01-05 18:44:38

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.

@EdgarVerona 2009-01-05 18:40:18

http://www.program-transformation.org/Transform/VisualBasicDecompilers

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.

@user875234 2018-11-26 16:30:43

sorry for the flag but many of the links in this answer are to download a virus.

Related Questions

Sponsored Content

21 Answered Questions

[SOLVED] Is there a way to get the source code from an APK file?

9 Answered Questions

[SOLVED] Decompile an APK, modify it and then recompile it

9 Answered Questions

[SOLVED] How to decompile to java files intellij idea

10 Answered Questions

[SOLVED] What does DIM stand for in Visual Basic and BASIC?

2 Answered Questions

[SOLVED] How to decompile with correct line numbers using fernflower?

1 Answered Questions

Decompiling/Unpacking a File (Reverse Engineering the Compiler)

0 Answered Questions

Unable to Decompile VB.NET...?

  • 2014-04-18 00:22:20
  • Paintballer4lfe
  • 204 View
  • 0 Score
  • 0 Answer
  • Tags:   vb.net decompiling

2 Answered Questions

[SOLVED] Decompiler for Visual Basic 6 program?

  • 2009-09-10 15:32:20
  • Dennis
  • 8200 View
  • 1 Score
  • 2 Answer
  • Tags:   vb6 decompiling

3 Answered Questions

[SOLVED] Is there a decompiler that will work on Visual Studio 6 C++

7 Answered Questions

[SOLVED] Should Programmers Use Decompilers?

  • 2009-02-18 02:31:45
  • Kredns
  • 1019 View
  • 2 Score
  • 7 Answer
  • Tags:   decompiling

Sponsored Content