Solved

convert exe to code

Posted on 2001-07-25
10
644 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel object stays open 19 71
Change the path of the data source in my Excel pivot table with macro 4 34
How to debug this code 7 56
VBA Shell can't Find Word document 11 76
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now