0

A few days ago, I have formated my disk and I have lost all datas. Now I have only two VB6 exe files and I want source code from those. Is there any way to recover source code from VB6 exe files? Please help me.

eglease
  • 2,445
  • 11
  • 18
  • 28

1 Answers1

1

You cannot, in general, retrieve source code from an executable as it's a one-way transformation from in this case visual basic to binary machine code. If you compiled your binary with debug information you have more information available. You can of course obtain assembly and there are a class of tools that is called decompilers that ease transformation to a high-level language like C. See for example https://reverseengineering.stackexchange.com/questions/8038/exe-to-c-source-code-decompiler. Sorry.

Allan Wind
  • 23,068
  • 5
  • 28
  • 38
  • In oversimplified layman's terms: you're asking how to recreate a cow out of mince. – Hel O'Ween Sep 16 '21 at 08:05
  • 3
    This answer is not the whole truth. There is a VB5/VB6 decompiler (you just have to google for "vb decompiler". The product claims to recover most of the code (form the p-code) and some of the code for native execs. – nabuchodonossor Sep 16 '21 at 10:24
  • https://stackoverflow.com/questions/414068/is-there-a-visual-basic-6-decompiler – StayOnTarget Sep 16 '21 at 11:31