Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi all,
I have a problem with an EXE file that I had created with VB6. It was based on an Excel file containing both the template of the invoice I send to my clients and a table with all the references of the previous clients. As I didn't want to see Excel calculating, I had managed to force it to hide the Excel file and only show me a VB6 form that would ask me things such as the name of the client. Everything worked fine but I had to reformat my HD and I have only managed to recover some of the files. Here are the extensions: EXE, VBP, VBW, DCA, DSR, DSX, FRM, PDB, VBG and SCC. The form still appears when I press on the EXE and the dropdown events still work.
The question is: can I at least recover the code to avoid rewriting everything? How?
Thanks in advance,
Paul

Yes,
Put all of those files into a folder. Start VB and choose to open a project. Go to the folder and you should see the .vbp file. this is the project file. open it and your project should appear.
If this doesn't work, then you are missing a vital part of the project. your only hope would be to reverse engineer the .exe file.
You'll need to investigate this task. I don't know exactly how it is done, but i know it can be done.

hmm... i think there was a debate about that a while ago, i havent been here in a while, but to my knowlege, vb6 exe's cannot be decompiled. i know earlier versions, up to vb5 i think can be...i've done it to vb3, using programs. still looking for ways to get to vb6 code and stuff.
-eaw8806

Smartcheck from NuMega might give you a fairly good 'snapshot' of your code if it's written in VB, might jog your memory as to what you did when you wrote it.
But I do think a rewite is what you're probably going to end up doing.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |