Help. Decompile EXE back to VB source code?

Mugsy's RapSheet 156 Reputation points
2021-04-05T20:03:13.747+00:00

Last January, I fell victim to some RansomWare. :(

I managed to recover most of what I lost from backups, but one program I wrote was up to v4.0.5 and the only source code I was able to recover was from a months-old backup of v4.0.3.

Is there a way to decompile the v4.0.5 exe back to the original VB source code? (I've seen decompilers for C# but not VB.) TIA

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,721 questions
0 comments No comments
{count} votes

Accepted answer
  1. Karen Payne MVP 35,411 Reputation points
    2021-04-05T23:36:04.25+00:00

    Best visual decompiler is dotPeek from JetBrains and it's free.

    84605-dotpeek.png

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Castorix31 84,871 Reputation points
    2021-04-05T20:16:34.28+00:00

    You can try tools like ILSpy

    0 comments No comments

  2. Mugsy's RapSheet 156 Reputation points
    2021-04-06T00:06:44.65+00:00

    Thanks. I was hoping for something that could decompile to VB so I could compare my 4.0.3 source code side-by-side to the decompiled version looking for changes, but I'll take what I can get.


  3. Zlatko Borojevic 0 Reputation points
    2023-06-26T10:26:38.33+00:00

    I created a program for financial accounting

    in the meantime, my disk with the working versions got damaged.

    I also have a bug in the program. I tried the decompile when debug option. I find an error and delete the entire procedure, but I don't know how it has an effect on the executable program.

    I'm asking for help

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.