|
-
May 22nd, 2007, 09:36 AM
#1
Thread Starter
Hyperactive Member
cannot open vb project
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...
 If an answer to your question has been helpful, then please, Rate it! 
-
May 22nd, 2007, 09:37 AM
#2
Re: cannot open vb project
It should have told you why it couldn't be loaded. Probably because it is missing something. What was the exact message?
-
May 22nd, 2007, 09:38 AM
#3
Re: cannot open vb project
If project does exist then navigate to where it's stored and dblclick on the VBP file.
-
May 22nd, 2007, 09:55 AM
#4
Re: cannot open vb project
If his project file is corrupted, which is what I'm thinking, the same thing would probably happen.
-
May 22nd, 2007, 10:00 AM
#5
Re: cannot open vb project
Have you tried ignoring the error. Is there a message box Proceed? Yes/No?
-
May 22nd, 2007, 10:15 AM
#6
Re: cannot open vb project
 Originally Posted by Hack
If his project file is corrupted, which is what I'm thinking, the same thing would probably happen.
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.
-
May 22nd, 2007, 03:28 PM
#7
Re: cannot open vb project
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!
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
May 22nd, 2007, 05:10 PM
#8
Re: cannot open vb project
Where is your vbp file located (folder/network/shared drive)?
-
May 23rd, 2007, 12:48 AM
#9
Thread Starter
Hyperactive Member
-
May 23rd, 2007, 01:04 AM
#10
Member
Re: cannot open vb project
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.
-
May 23rd, 2007, 01:44 AM
#11
Re: cannot open vb project
Post the vbp file and answer the questions...
-
May 23rd, 2007, 03:04 AM
#12
Thread Starter
Hyperactive Member
Re: cannot open vb project
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"
 If an answer to your question has been helpful, then please, Rate it! 
-
May 23rd, 2007, 04:56 AM
#13
Re: cannot open vb project
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.
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
May 23rd, 2007, 07:58 AM
#14
Re: cannot open vb project
Why not rebuilding the project? It only takes a minute or so... You could've at least tried.
-
May 23rd, 2007, 08:07 AM
#15
Re: cannot open vb project
Did you try this suggestion?
 Originally Posted by RhinoBull
If project does exist then navigate to where it's stored and dblclick on the VBP file.
-
May 24th, 2007, 05:08 AM
#16
Thread Starter
Hyperactive Member
Re: cannot open vb project
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 an answer to your question has been helpful, then please, Rate it! 
-
May 24th, 2007, 09:47 AM
#17
Re: cannot open vb project
If that didn't work then the best advice, and probably the only advice, is to rebuilt the project.
-
May 24th, 2007, 03:07 PM
#18
Re: cannot open vb project
 Originally Posted by Kuamr
when i tried to open the Vbp file with a notepad...the notepad is blank...
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.
The top of a VB6 vbp file should be similar to
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"
depending on what references, controls, etc., you have in the project.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
May 25th, 2007, 12:25 AM
#19
Thread Starter
Hyperactive Member
Re: cannot open vb project
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...
 If an answer to your question has been helpful, then please, Rate it! 
-
May 25th, 2007, 01:50 AM
#20
Member
Re: cannot open vb project
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|