Solved

ABOUT CONVERTING ' .EXE '  FILE TO ' .VBP '  (Visual Basic)

Posted on 2004-04-22
8
6,137 Views
Last Modified: 2013-11-25
I have a very small window program which written in Microsoft Visual Basic 6 .. I want to convert it  from ' .exe ' to  Microsoft Visual Basic file , so I can view the source and edit it ....
0
Comment
Question by:Wadhah
8 Comments
 
LVL 12

Expert Comment

by:guidway
ID: 10888724
unfortunately I don't believe they have a decompiler for VB. sorry!
0
 
LVL 11

Accepted Solution

by:
YohanShminge earned 500 total points
ID: 10888745
What you are asking is how to "decompile" an EXE file.  Since VB6 produces compiled executables, you cannot decompile it to VB code.  The best you could get would be assembly language.  See this PAQ: http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20878245.html
0
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 10888764
Sorry! You can not get the exact source code back. At most you can get back its assembly equivalent. I am not sure if someone has developed any tool which can convert that code into equivalent code. I would give chances of finding what you are looking for 0.00001%

Try concenterating on re-coding/re-engineering the app.

Good luck!


~ Ranjeet Rain


0
 
LVL 5

Expert Comment

by:g0rath
ID: 10888849
There was a product that was able to do this, but it only works up until VB4.

Yes you can get a decompiler to any exe, but you're reversing it back to byte code and assembly. Not back to original source code. Decompilers attempt to make machine guesses as to what possible source code makes up that section.

I reversed some of my old Java code and all that I could learn was an algorithim, but not a recompilable source.

This is a fine line since this is a tactic only used by hackers but the only goal is to learn algorhtims into copy protection schemes and ability to remove code keys.

As a software engineer for 8 years, I always have source laying around in some form or another, and divide up my projects so that source code loss is minimal. If you learn the code that your using, yes recreation can be a pain, but isn't that bad.

Invest in a better RCS (Revision Control System) rather then get a headace trying to decompile an exe.
0
 
LVL 17

Expert Comment

by:zzzzzooc
ID: 10895180
The below is for VB5/6 (I believe) that are compiled to Native Code (not aware of any that decompile P-Code).

http://www.decompiler.org/

>> There was a product that was able to do this, but it only works up until VB4.

DoDi? He had decompilers for VB3, 4 and 5. He's against piracy and only released for VB3 due to MS' neglect.

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question