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
Solved

convert exe to code

Posted on 2001-07-25
10
652 Views
Last Modified: 2012-05-04
hello...i have a vb exe file, anywhere that i can open the source from the exe or any software that i can use to convert the exe to source code. thank you very much and have a nice day my email account is wong_k@lycos.com
0
Comment
Question by:wong_k
10 Comments
 
LVL 6

Accepted Solution

by:
simonbennett earned 100 total points
ID: 6316396
Hi

No decompilers exist for VB5 and 6 (anyone who says otherwise is sh*tting you, native code can't be decompiled and the existing decompilers rely on VB's Psuedo EXE format)

However, there are these I found...

VB3: http://www.geocities.com/rayrxu/vbdownload.html
VB4: http://members.tripod.com/~rat_hole/vb.html (under "Utilities")

These may not work, and certainly wont restore meta data like variable names.

IMHO, if you need a decompiler you are either a) up to no good or b) stupid enough not to back up your own source. Which one is it?

8^P

Good luck

Simon
0
 
LVL 2

Expert Comment

by:BozzoCage
ID: 6316635
If you would just like to get out some parts of VB code (some procedure,...), you could use NuMega SmartCheck (http://www.numega.com/devcenter/sc.shtml). It can be used as decompiler, which outputs VB code.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6318223
"which outputs VB code."
I don't think so. I have using Smartcheck for vb5 and never saw "Code" in the exact meanings of the word.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6318225
Anyway, if the exe is in pseudo-code you will get nothing with that tool.
0
 
LVL 4

Expert Comment

by:dreamvb
ID: 6318340
Yes I agree with most of the comments on here i have not yet seen a Decompiler for VB4,VB5,VB6 the only one that does work is one for vb3. but saying that there is soneone at this time that has started to create one but how true this is i don't know Can't tell you.

this is a link to a decompiler froum most of it's bull crap but you might get lucky

http://decompiler.com/cgi-bin/UltraBoard/UltraBoard.cgi?action=Headlines&BID=3&SID=38140
0
 
LVL 6

Expert Comment

by:pierrecampe
ID: 6320302
yes you can get source code out of an exe---with a disassembler good luck he he he
(well you did not say VB source code did you)

0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 6320434
Hi!

Here's just a comment:

FYI, decompilers (from what I heard and know) would only return bits of code with lots of errors - not everything.  On top of that, the variables are with names with no sense in it whatsoever.

I also doubt you'll find many choices of decompilers as a decompiler is harder to write than a compiler : |

That's it!

glass cookie : )
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6320436
Good point, pierre!
:))))
0
 
LVL 5

Expert Comment

by:rkot2000
ID: 6322044
i used this couple years ago :

 http://www.support.ems.ru/~gold/vb5/index.html

to get couple vb5 exe .

but simonbennett  - correct

>>>>
 if you need a decompiler you are either a) up to no good or b) stupid enough not to back up your
own source. Which one is it?
>>>>

In my case we had a contractor, and  he left and deleted all code.

0
 

Author Comment

by:wong_k
ID: 6719668
thank for answer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

860 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