[RESOLVED] HELP!!! vbp file is gone!
I have a fairly large project I've been working on for almost 3 months.
It uses 6 usercontrols I've developed and several modules that's aren't in the same folder as the project and forms.
5 days ago there was a hick-up during a routine save, it asked where to save the project file.
I pointed it to the project folder and re-saved it.
Well, it corrupted the usercontrols on several forms.
Took a while, but I managed to fix that and made a backup of the project.
Just now, it hick-upped again during a save. I canceled the save and closed the project.
When I tried to reopen the project I found the .vbp file missing.
There was a temp file there. Opened it in notepad and it's a vbp file, so I renamed it and tried running it.
But I got an 'invalid key' error at the very first form and stopped the load.
HEEEELLLLPPP!!!
Re: HELP!!! vbp file is gone!
Just open a new project and build it using the forms, etc of your old project.
Re: HELP!!! vbp file is gone!
Thx, Martin
The project probably has links 30 files outside the project folder.
Plus links to other VB components, ado, status bar etc.
So I did it a diff way.
1. moved my newest backup folder parallel to the project folder so the external links would be good.
2. Opened the backup in VB
3. Checked the file dates in the two folders
4. Opened any that where newer in NotePad.
5. Copied all text from 'Option Explicit' down
6. Pasted them into the correct forms and modules in VB
7. Saved the 'backup' project
8. Copied the changed files and new VBP file back to the working Project folder.
Looks like I didn't lose much, but what a PTA!!!!!!