Getting form/code from a Visual Basic EXE

  • Thread starter Thread starter a104375
  • Start date Start date
  • Tags Tags
    Visual
Click For Summary
SUMMARY

Extracting forms and code from a Visual Basic EXE file is a complex process that cannot restore the original source code. While it is impossible to retrieve the exact source code, if the EXE was compiled with debugging options enabled, decompilers can be utilized to obtain a reasonable approximation of the code. Tools such as decompilers are essential for this task, but the results may vary significantly based on the compilation settings.

PREREQUISITES
  • Understanding of Visual Basic programming language
  • Familiarity with EXE file structures
  • Knowledge of decompilation tools and techniques
  • Experience with debugging options in Visual Basic
NEXT STEPS
  • Research decompilers specifically for Visual Basic, such as VB Decompiler
  • Learn about the implications of compiling with debugging options in Visual Basic
  • Explore the differences between source code and decompiled code
  • Investigate best practices for modifying existing Visual Basic applications
USEFUL FOR

Software developers, particularly those working with Visual Basic, reverse engineers, and anyone interested in modifying existing applications while understanding the limitations of decompilation.

a104375
Messages
1
Reaction score
0
Ok i have an exe of a game that my friend made and i was wondering if its possible to get the form and code of the program out of that exe file.. and yes i do have his permission from him to make some changes but he hasnt had time to get me the visual basic files
 
Computer science news on Phys.org
Possible? Sure.
Anytime in your near future. No.

Turning a .exe back into source code is a very difficult task.
 
It's certainly not possible to get the original source code back out of the exe. On the other hand, if the code was compiled with debugging options turned on, there are some tools called decompilers which can do a reasonable job of decompiling the .exe.

http://en.wikipedia.org/wiki/Decompiler

- Warren
 

Similar threads

Replies
15
Views
11K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
10K