[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

Help...Lost Data

I don't know if there's any way out of this mess but...

I was using the P&D Wizard and somehow after I had created some setup files etc.  I went to go back into the project and they were gone...replaced by one of the new setup packages.  Well I sadly don't have a recent backup of my work...is there anyway I can get my code and/or project back from the EXEs??

Thanks...
0
syntel
Asked:
syntel
1 Solution
 
syntelAuthor Commented:
Edited text of question.
0
 
InformativeCommented:
No there are not any good Visual Basic Disassembler/Decompilers that I am aware of.  You might be able to get ASM or C code from the EXE assembly language instructions, some snippets of code such as API calls can be extracted and perhaps some similar code logic.  But dont trust me go see for yourself what is out there try this disassembler link

http://archive.csee.uq.edu.au/~csmweb/decompilation/disasm.html
0
 
AndySulzCommented:
There is no way to get your stuff back from the exe.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
syntelAuthor Commented:
Jeez you locked it for that answer...
0
 
InformativeCommented:
AndySulz: Please try to follow the normal practices followed by everyone else such as posting your answers as comments unless it is a complex pieces of code which completely answers the question.  

Syntel: you are free to reject any answer and accept any COMMENT AS the answer of course.

0
 
vikiingCommented:
There ARE decompilers, but only for VB up to version 4, which give you the original source with a better look than your hand-written code.

Since VB5, decompiling process is impossible.
0
 
syntelAuthor Commented:
Thanks for the thought.  
0
 
Erick37Commented:
If only the vbp file is missing you can rebuild it by creating a new project and adding your form files, module files, etc.

If somehow all of your code has been deleted, try rebooting in MSDOS mode and run Undelete in the project directory.

Good Luck!
0
 
InformativeCommented:
No there are not any good Visual Basic Disassembler/Decompilers that I am aware of.  You might be able to get ASM or C code from the EXE assembly language instructions, some snippets of code such as API calls can be extracted and perhaps some similar code logic.  But dont trust me go see for yourself what is out there try this disassembler link

http://archive.csee.uq.edu.au/~csmweb/decompilation/disasm.html
0
 
syntelAuthor Commented:
Found my last backup and it's *only* a few days old.  Could have been a lot worse but what a pain. I never had to go back in time before...yuck!! And I sure won't let that happen again.

Thanks to all.
0
 
InformativeCommented:
Thats great!  Another tip for those who may not be fully familiar with the whole VB environment is, go to each form, module, class in your project window and make sure to do a SAVEAS for each one to be absolutely certain they are all saved to the same directory/folder!  

That way, you may backup this folder with say WINZIP and have a zip package which is a complete single file backup copy of all your code in your project.  VB has a very nasty habit of putting files wherever it happens to be (current folder) at the moment when adding forms or modules and I've lost code this way once or twice.

Winzip is great for this because you can right click a folder in explorer and just say "add to zip" I do this every time I am about to begin a large batch of changes to a project as well to make sure I can quickly back out the changes by simply extracting the zip again.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now