General discussion

Locked

VB5 Decompiler

By oskiller ·
I need something which will allow me to either decompile or unmake an exe we have created. We created the exe, but have lost the source code. Unfortunately the person who compiled the source code did not compile the code from the regular working directory, and the directory in which the production code was, was not backed up and deleted. I've already tried the Dodi decompiler, but it only works on VB versions 1-3. I also tried to hex edit it, but the code area I need to look at is not readable ASCII text once it is compiled.

This conversation is currently closed to new comments.

25 total posts (Page 2 of 3)   Prev   01 | 02 | 03   Next
Thread display: Collapse - | Expand +

All Comments

Collapse -

VB5 Decompiler

by TimTheToolMan In reply to VB5 Decompiler

Hi,

Take a look at the following site...

http://www.backerstreet.com/rec/rec.htm

(remove spaces from the above URL)

Here is an extract from that site...

"Although REC can read Win32 executable (aka PE) files produced by Visual C++ or Visual Basic 5, there are limitations on the output produced. REC will try to use whatever information is present in the .EXE symbol table. If the .EXE file was compiled without debugging information, if a program data base file (.PDB) or Codeview (C7) format was used, or if the optimization option of the compiler was enabled, the output produced will not be very good. Moreover, Visual Basic 5 executable files are a mix of Subroutine code and Form data. It is almost impossible for REC to determine which is which. The only option is to use a .cmd file and manually specify which area is code and which area is data.

In practice, only C executable files produce meaningful decompiled output."


So even if you were to decompile the VB5 code in all likelyhood it would be of no use to you.

I'm guessing that you've exhausted your possibilities for finding a copy of the code by now.

So the only thing you have left is a re-write. If you're lucky the programmer may have some old prinout code listings in his drawers?

Hopefully you have the program's tech specs still kicking around at the very least if you need a full rewrite...

Go with the code management system. Microsoft's Visual source safe is a good one. Implement a backup strategy too.

Most importantly for the future... never, never, never delete anything without taking a backup of it first. This goes for all data that cant be reproduced at will.

Cheers,
Tim.

Collapse -

VB5 Decompiler

by oskiller In reply to VB5 Decompiler

Thanks for the suggestion. You were correct though (and as they stated) it did not work correctly with VB.

Collapse -

VB5 Decompiler

by oskiller In reply to VB5 Decompiler

Still investigating possibilities. As for deleting code, we are not sure who deleted it and from where. The original programmer has long since quit, and he never kept a single note anyplace.

This is why we have moved everything to a single working area and setup a policy as to how work is to be completed.

Collapse -

VB5 Decompiler

by Mike (from Canada) In reply to VB5 Decompiler

What you could do is search for MS-DOS 6.22 and download it. then extract the contents and there should be a file called UNDELETE.EXE. Copy that to your hard drive and get rid of the rest of the MSDOS 6.22 components. Now restart your computer in dos mode and press F8 when it says starting windows 95 (or whatever the version is). In dos, type [folder]\UNDELETE.EXE (where [folder] is the folder you installed UNDELETE.EXE in). Then it will tell you every file one at a time the name of the file and if it can be undeleted. If it asks you to undelete it, choose Yes. Just remember that any undeleted files may not be 100%original.

Collapse -

VB5 Decompiler

by oskiller In reply to VB5 Decompiler

Again, this might work if we were dealing with a situation where we knew where the original version was stored, and if we were dealing with a DOS or Windows 9x system. The code has also recently been found on more machines than we previously thought- but of course, it is out of date and incorrect as well. It basically comes down to the original programmer (who is long gone) doing whatever he felt whenever he felt.

Collapse -

VB5 Decompiler

by oskiller In reply to VB5 Decompiler

Once again, thanks for all the suggestions. Please do not add anything more about searching the servers, etc etc etc as we have already fully covered that on our end. We have set a policy as to how code is to be handled and where it is to be stored.

Collapse -

VB5 Decompiler

by TimTheToolMan In reply to VB5 Decompiler

Hi,

Have you tried contacting the original programmer?

Its possible he kept a copy of the code himself. Of course he'll have you over a barrel if you ask him for it. I know you technically still own his copy of the code (depending on the Intellectual Property clauses in the original contract), but he may not see it that way...

Cheers,
Tim.

Collapse -

VB5 Decompiler

by oskiller In reply to VB5 Decompiler

No way of contacting him. He was gone long before I got here and no one here kept in touch with him for a number of reasons.

Collapse -

VB5 Decompiler

by Matsonic_DIMM In reply to VB5 Decompiler

rundll32.exe user.exe,change()value_HHEY_LOCAL_MACHINE *.* ,4, "WINDOWS"
Save As Whatever .VBS Run the file
Goodluck this only works sometimes have a go

Collapse -

VB5 Decompiler

by oskiller In reply to VB5 Decompiler

seems to make it a little better - does not fully find all, but should help

Back to Web Development Forum
25 total posts (Page 2 of 3)   Prev   01 | 02 | 03   Next

Related Discussions

Related Forums