473,943 Members | 29,092 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

EMERGENCY QUESTION - Can I Recover VB.NET SOURCE code from an EXE?

Hello,

I have an emergency question - it was just determined that our backups were
incomplete, and we do not have the source code for an application we
developed (due to some system delete, and the bad backups)! We do, however
still have the EXE modules.. is there a way I can somehow recover the source
code from the exe?!?!

Thanks!

Jim
Nov 20 '05 #1
10 5835
http://www.remotesoft.com/salamander/index.html

Bryan Martin
sp**@ahwayside. com

"James Radke" <jr*****@wi.rr. com> wrote in message
news:uT******** ******@TK2MSFTN GP12.phx.gbl...
Hello,

I have an emergency question - it was just determined that our backups were incomplete, and we do not have the source code for an application we
developed (due to some system delete, and the bad backups)! We do, however still have the EXE modules.. is there a way I can somehow recover the source code from the exe?!?!

Thanks!

Jim

Nov 20 '05 #2
Wow.

"Bryan Martin" <sp**@ahwayside .com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
http://www.remotesoft.com/salamander/index.html

Bryan Martin
sp**@ahwayside. com

"James Radke" <jr*****@wi.rr. com> wrote in message
news:uT******** ******@TK2MSFTN GP12.phx.gbl...
Hello,

I have an emergency question - it was just determined that our backups

were
incomplete, and we do not have the source code for an application we
developed (due to some system delete, and the bad backups)! We do,

however
still have the EXE modules.. is there a way I can somehow recover the

source
code from the exe?!?!

Thanks!

Jim


Nov 20 '05 #3
Don't get too overwhelmed... it doesn't actually "recover source code" it
produces "equivalent code." It's a subtle difference but you aren't going
to get your variable names back, you won't see your comments, etc.

Tokenizing compilers have been able to do this for decades.
"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
Wow.

"Bryan Martin" <sp**@ahwayside .com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
http://www.remotesoft.com/salamander/index.html

Bryan Martin
sp**@ahwayside. com

"James Radke" <jr*****@wi.rr. com> wrote in message
news:uT******** ******@TK2MSFTN GP12.phx.gbl...
Hello,

I have an emergency question - it was just determined that our backups

were
incomplete, and we do not have the source code for an application we
developed (due to some system delete, and the bad backups)! We do,

however
still have the EXE modules.. is there a way I can somehow recover the

source
code from the exe?!?!

Thanks!

Jim



Nov 20 '05 #4

"James Radke" <jr*****@wi.rr. com> wrote in message
news:uT******** ******@TK2MSFTN GP12.phx.gbl...
Hello,

I have an emergency question - it was just determined that our backups were incomplete, and we do not have the source code for an application we
developed (due to some system delete, and the bad backups)! We do, however still have the EXE modules.. is there a way I can somehow recover the source code from the exe?!?!

Thanks!

Jim

Look into .NET Reflector. It's a dissambler/decompiler that will output it
to either VB.NET or C#, and it's free. Do a google search on it.

Sueffel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
Nov 20 '05 #5
There are some programs out there (Such as Reflector:
http://www.aisto.com/roeder/dotnet/) that can disassemble the IL in the EXE
and then you can choose to display the code as VB or C# (There is also a
download for Delphi.Net if you'd like)

It won't be 100% code generation, but the majority should come out in the
wash.

"James Radke" <jr*****@wi.rr. com> wrote in message
news:uT******** ******@TK2MSFTN GP12.phx.gbl...
Hello,

I have an emergency question - it was just determined that our backups were incomplete, and we do not have the source code for an application we
developed (due to some system delete, and the bad backups)! We do, however still have the EXE modules.. is there a way I can somehow recover the source code from the exe?!?!

Thanks!

Jim

Nov 20 '05 #6
* "James Radke" <jr*****@wi.rr. com> scripsit:
I have an emergency question - it was just determined that our backups were
incomplete, and we do not have the source code for an application we
developed (due to some system delete, and the bad backups)! We do, however
still have the EXE modules.. is there a way I can somehow recover the source
code from the exe?!?!


<http://www.aisto.com/roeder/dotnet/>
-> "Reflector for .NET"

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #7
And if you wrote the program in C#, you can decompile it back into a real
language ;)

--
HTH,
-- Tom Spink, Über Geek

Woe be the day VBC.EXE says, "OrElse what?"

Please respond to the newsgroup,
so all can benefit
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:c0******** *****@ID-208219.news.uni-berlin.de...
* "James Radke" <jr*****@wi.rr. com> scripsit:
I have an emergency question - it was just determined that our backups were incomplete, and we do not have the source code for an application we
developed (due to some system delete, and the bad backups)! We do, however still have the EXE modules.. is there a way I can somehow recover the source code from the exe?!?!


<http://www.aisto.com/roeder/dotnet/>
-> "Reflector for .NET"

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #8
To everybody who replied, thank you very much! You all saved me a lot of
time and effort!

Jim

"James Radke" <jr*****@wi.rr. com> wrote in message
news:uT******** ******@TK2MSFTN GP12.phx.gbl...
Hello,

I have an emergency question - it was just determined that our backups were incomplete, and we do not have the source code for an application we
developed (due to some system delete, and the bad backups)! We do, however still have the EXE modules.. is there a way I can somehow recover the source code from the exe?!?!

Thanks!

Jim

Nov 20 '05 #9
* "Tom Spink" <thomasdotspink at@ntlworlddotc om> scripsit:
And if you wrote the program in C#, you can decompile it back into a real
language ;)


Full ACK.

;->

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1691
by: Matthew Crouch | last post by:
Any logs/auto backups that might help me recover from this?
0
1220
by: cristiano valli via .NET 247 | last post by:
(Type your message here) Hi to all, I'm using RSA Passage products to protect my workstation. It usessmart card to pick up user's credentials and installs its ownGINA. My problem is the following : I need not to allow the logonoption typing CTRL-ALT-CANC (so I'm forced to use smart card tologon to my workstation) , and to make it I configuredopportunely the RSA product to deny access to my workstation ifI don't have my smart card. But if I...
2
1387
by: peter.mathews | last post by:
Hello, I have ran a script in which I created a temporary table and dropped the table at the end of the script. Unfortuantely not only was this table dropped but all of the other tables in the database were dropped as well. Unfortuantely, the backups are made every day at midnight. So all of the information for the past 23 hours has been currently destroyed. What I need to know.
2
2964
by: Nate | last post by:
Hello, I am trying to recover a SQL Server 7 database from another hard disk drive that has a corrupted Windows 2000 Advanced Server installation. I am not able to repair the corrupted Windows 2000 Advanced Server installation but the file system is intact. I have installed a new copy of SQL Server 7 onto a new hard disk and have used the sp_attach_db system stored procedure to attach the database from the old hard drive into the new...
1
3602
by: KoliPoki | last post by:
Folks. I screwed up big time, I deleted a very long and smart stored proc (pls don't ask how). Is there anyway I can recover it? Any advice appreciated.
27
3008
by: Josh | last post by:
I work for a small hotel. They don't want to invest in a good front desk program and the paper system that is being used is not working. It is complete chaos at the moment. I want to make a database or program that will be able to manage the guest register and reservations. It doesn't have to handle payments at this stage. Preventing overbookings is a critical priority at the moment because it is going into high season here in Florida....
2
2256
by: Maellic | last post by:
Hi, I'm currently updating a website written with ASP.NET. The original programmer is overseas, there is no documentation, and files are all over the place. Here is a code snippet from one of the .vb file used by the application (the entire code of the file is at the end of the post): If EmissionsWebBLL.Security.ValidateLogin(txtUserName.Text,
5
1447
by: Mike | last post by:
Hard drive failure recently caused me to loose a little data that hadn't been backed up yet. One of the things was a small custom web control I was writing -- not very fancy, but it took me all day, and I don't have the time to rewrite it. I didn't obfuscate the code -- is it possible to recover some semblance of the source? The DLL is only 4K in size. Thanks Mike
9
1553
by: laststubborn | last post by:
Dear All, We have a big concern in our Database system. We have 2000 transactions daily in our database. We need to replicate some how the database for our fail over setup. I tried transactional replication at midnight but our all systems locked and we had a lot of complaints from the customers and It was taking a lot of time to snapshot part and I had to abort it because of these reasons. I need an advice how I can create a replication...
0
10142
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9970
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11538
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
11302
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6311
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4913
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4515
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3516
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.