user1787847
user1787847

Reputation: 11

.vbp could not be loaded and NOT in notepad neither

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?

Upvotes: 1

Views: 2896

Answers (2)

BobRodes
BobRodes

Reputation: 6165

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.

Upvotes: 1

Deanna
Deanna

Reputation: 24263

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.

Upvotes: 3

Related Questions