1
votes

As of yesterday, my vbp file refuses to open '.vbp could not be loaded'. If i try to open the individual forms, some of them work (open in vb6), some of them produce error .log file with two class errors : Class TabDlg.SSTab of control mstTabArticles was not a loaded control class. Line 3672: Class MSComCtl2.DTPicker of control dtpTicketDate was not a loaded control class.

I cannot open the vbp in notepad neither (=empty) and in wordpad i only get small squares...

Any help please?

2
Do you have any kind of source control or backup? Then you could diff the project with it's previous version to see if anything has changed.stuartd
Voting to close as too localized as I don't see this being of use to anyone else.Deanna
I don't think this is localised. I have experienced this same issue myself. Although the resolution is to restore from a previous backed up version it might be useful just to know thatMatt Wilko

2 Answers

3
votes

Your .vbp file is corrupt. You will either need to restore from your backup or source control (you do have both of those don't you?). Failing that, you will need to recreate the project file from scratch and readd each of the forms. You'll need to figure out what controls and references were loaded though.

As for the errors when loading the form files, this is normal as the controls have not been added to the project.

1
votes

One other possibility is to open your file with a hex editor. You may be able to rescue a good deal of the text from the corrupt file and copy it to a new one.