Results 1 to 20 of 20

Thread: cannot open vb project

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    256

    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!

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

  3. #3

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: cannot open vb project

    If his project file is corrupted, which is what I'm thinking, the same thing would probably happen.

  5. #5
    Frenzied Member zynder's Avatar
    Join Date
    Nov 2006
    Location
    localhost
    Posts
    1,434

    Re: cannot open vb project

    Have you tried ignoring the error. Is there a message box Proceed? Yes/No?

  6. #6
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: cannot open vb project

    Quote 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.

  7. #7
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    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!

  8. #8
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: cannot open vb project

    Where is your vbp file located (folder/network/shared drive)?

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    256

    Re: cannot open vb project

    This the screen shot of the error msg when i double click the vbp file in the window explorer
    please see attched jpg image
    Attached Images Attached Images  
    If an answer to your question has been helpful, then please, Rate it!

  10. #10
    Member
    Join Date
    May 2007
    Posts
    40

    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.

  11. #11
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: cannot open vb project

    Post the vbp file and answer the questions...

  12. #12

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    256

    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!

  13. #13
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    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!

  14. #14

  15. #15
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: cannot open vb project

    Did you try this suggestion?
    Quote Originally Posted by RhinoBull
    If project does exist then navigate to where it's stored and dblclick on the VBP file.

  16. #16

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    256

    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!

  17. #17
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: cannot open vb project

    If that didn't work then the best advice, and probably the only advice, is to rebuilt the project.

  18. #18
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: cannot open vb project

    Quote 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

  19. #19

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    256

    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!

  20. #20
    Member
    Join Date
    May 2007
    Location
    India
    Posts
    46

    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
  •  



Click Here to Expand Forum to Full Width