Solved

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

Posted on 2004-04-22
8
6,227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

691 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