I get the following error when i try to open a project....
'D:\prjprojectname' could not be loaded
plesae advice
this project exists and is in D:\please advice...
Printable View
I get the following error when i try to open a project....
'D:\prjprojectname' could not be loaded
plesae advice
this project exists and is in D:\please advice...
It should have told you why it couldn't be loaded. Probably because it is missing something. What was the exact message?
If project does exist then navigate to where it's stored and dblclick on the VBP file.
If his project file is corrupted, which is what I'm thinking, the same thing would probably happen.
Have you tried ignoring the error. Is there a message box Proceed? Yes/No?
You might be right - in such case I would rebuild the project by creating a brand new and addin all existing objects (forms, modules, classes, etc) and then save new project by overwriting existing.Quote:
Originally Posted by Hack
I'm using Win2000, and sometimes I can't open my .VBP as a normal user, after a login as an admin, restarting the .vbp, closing it and login as a normal user everything works fine again.
I can't tell why, but it works that way for me!
Where is your vbp file located (folder/network/shared drive)?
This the screen shot of the error msg when i double click the vbp file in the window explorer
please see attched jpg image
That case, RhinoBull's post may help your problem:
Rebuild the project by creating a brand new Project, and addin all existing objects (forms, modules, classes, etc) and then save new project by overwriting existing.
Post the vbp file and answer the questions...
The vbp file (along with all the frm and frx files) is located in D drive and it is not shared .
I didn't get what did u mean by "Post the vbp file"
Copy the contents of the .vbp file (opened with notepad) and paste, so that we can see what is in that file.
Or
Zip the .vbp file and attach it.
Why not rebuilding the project? It only takes a minute or so... You could've at least tried. :confused:
Did you try this suggestion?Quote:
Originally Posted by RhinoBull
Hack !! I did try wat u suggested..But still i'm not able to open...
when i tried to open the Vbp file with a notepad...the notepad is blank...
anyways i'll try rebuilding the entire project ..and see wat happens..
waiting for an advice../ suggestion.......
thanks...
If that didn't work then the best advice, and probably the only advice, is to rebuilt the project.
That's the problem. If you look at the properties, you'll probably find that your vbp file has a length of 0. Either that or you don't have the proper permissions to open the file.Quote:
Originally Posted by Kuamr
The top of a VB6 vbp file should be similar todepending on what references, controls, etc., you have in the project.Code:Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\WINDOWS\system32\stdole2.tlb#OLE Automation
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; comdlg32.ocx
Module=MouseWheel; MouseWheel.bas
Class=CLdbconn; dbconn1.cls
UserControl=NumberTextBox.ctl
Form=frmCWK.frm
Startup="frmCWK"
Hi AI42,
The size of .vbp file is not zero(0).
When i right click the .vbp file in windows explorer the properties box shows me the Following
Size is 1.83K(1,884 bytes)
size on disk is 4.00K(4,096 bytes)
and in the Attributes, the check box is clear for both Read only and Hidden
i.e it is neither Hidden nor Read only...
Please advice...
i think the best way is to create a new project with the same details and save with the same project name...Hopefully then it should reload...