25 replies
by oskiller
by oskiller
by c1980
Sorry to say that there isn't a compiler for VB5+, only for type libraries.
Have you tried using an unerase or file recovery program to get the deleted files back? If this is a possibility and a utility like defrag hasn't been ran, then I would immediately stop all activity on the drive and get a file undelete program like one for Symantec or Fix-It and run it from the CD (unless it is already installed on the system) and try to recover the deleted directory and some of the VB files. At least then you could get some of the code back.
by c1980
by oskiller
I would try doing a recovery, but the problem is the person who compiled the code the last time does not remember where the code was compiled from. We were going through a cleanup where all code was to be moved to one location and worked on in subdirectories from there. Unfortunately, this one was not. Might have been on any number of servers or machines which have had numerous things done to them since then.
Thanks for trying though.
by oskiller
There's no way to de-compile an executable and turn it onto a readable format. All decompilers can work at hexadecimal level or assembler, which may be not useful for you.
I'm (sure ?) that you make regular backups to your files. Based on the creation day of the .exe file, start searching your database backup file from the previous full backup of your strategie since the compiled day.
You mention many servers, ok, just search on each one. If you do not have a database engine with your backupsoftware, start making a new one with the backup info stored in the tape.
If you don't have those backup's, it's time to build a new startegie based upon this incident!!.
Another cool way to have your code safe and secure is to use Visual Source SAfe from Microsoft.
Hope it helps!!
by oskiller
by shanghai sam
by oskiller
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.
by oskiller
by oskiller
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.
by oskiller
by oskiller
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.
by oskiller
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
by oskiller
Hi,
When you say you have "no way of contacting him" does that mean you dont even have his name?
That really depends on whether he's moved out of your area.... It would be worth making a few phone calls to contracting houses in your area.
As you've no doubt figured out by now, this is going to be your best bet...
Cheers,
Tim.
by oskiller
See the following link for:
EXE/DLL/OCX/OCA/TLB Type-library decompiler
Compatibility:VB 5.0, VB 6.0
"This program will decompile/read and interpret ANY type library. A type library is a library in some DLL's, EXE's and all OCX,OCA and TLB files. It contains information like function, parameters, descriptions, events, subroutines, properties, GUID ext."
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=13892&lngWId=1
>>> REMOVE SPACES from the pasted URL <<<
Hope it works for you,
Maxwell
by oskiller
by oskiller
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending