Results 1 to 11 of 11

Thread: Problem with Project file

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Santa Cruz. Ca,UAS
    Posts
    9

    Problem with Project file

    Don't know if this is the place ask this but I am really in trouble. I have been working on a project for the last 3 years. Everything was doing fine until today. When I reopened the project it loaded with out errors but none of the forms or modules were loaded. The Form and module files are there. When I open the .vbp file I see all the forms and modules are listed. However the Workspace file(.vbw) is blank. I copied an archived vbw to the empty .vbw, reloaded the project and still no forms. All the Project References and components are selected. Everything is in place but the Forms and Modules will not load. I have 3 backup copies of the project and they all perform the same way. Please, if there is way to get them all back I'd really appreciate it.

    gene pester

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: VB Project Opening Problem

    @GenePester,

    How many forms, modules, etc are in the project? If it is not a lot of trouble trying starting a new project an import the existing forms, etc into it.

    Quote Originally Posted by ladoo View Post
    most likely u reinstalled windows ,and vb6 cant find the path to the file its trying to load
    Reinstalling Windows has nothing to do with the problem!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3
    Banned
    Join Date
    Nov 2012
    Posts
    1,171

    Re: VB Project Opening Problem

    Quote Originally Posted by Nightwalker83 View Post
    @GenePester,

    How many forms, modules, etc are in the project? If it is not a lot of trouble trying starting a new project an import the existing forms, etc into it.




    Reinstalling Windows has nothing to do with the problem!

    well emm did u have this issue before , i have this is why i no


    i had windows xp running many projects made and saved in variouse locations , virus hit me , i needed to reinstall , i backed up all desktop folders files to 1 folder
    after i reinstalled under new username , vb6 cannot find the path to the files it needs because username is changed and paths.

    simple edit to the .vbp with a wordpad can solve the issue by correcting the path to your files adios!!!!!!!!!!!!

    clearly shown on image username askahar/folder etc etc not found so it cant load

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Problem with Project file

    Posts moved to its own thread. Do not hijack someone elses thread to ask your own question.

    The workspace file is not really important. It will just contain information about which files that you had opened when you last closed the project. Can't you see any of your Forms or Modules in the Project window?

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Santa Cruz. Ca,UAS
    Posts
    9

    Re: Problem with Project file

    Thanks for responding!

    No. The project window doesn't show anything. It's like it's a new project. The .vbp file is 17kb. When I open the.vbp file. all the forms and modules are there, just don't show up in the project explorer. When I try to run the project it asks me the start form. Since project file doesn't show any forms it will not load. This happens on 3 machines with the same result for each PC, so I kinda think there is something wrong in the environment opts. Other projects load OK. This project is the only one that fails.
    Last edited by GenePester; May 13th, 2013 at 04:42 PM.

  6. #6
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Problem with Project file

    When you open up the project file all the Forms and Modules are there but they don't show up... Yeah, that sounds... illogical. What do you mean?

  7. #7
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: VB Project Opening Problem

    Quote Originally Posted by ladoo View Post
    well emm did u have this issue before , i have this is why i no
    Well, the fact the OP says

    This happens on 3 machines with the same result for each PC
    suggests it is NOT the operating system unless all three machine just happen to have the exact same problem which, is unlikely.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  8. #8

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Santa Cruz. Ca,UAS
    Posts
    9

    Unhappy Re: Problem with Project file

    OK, maybe I am not clear.

    I created the project on my main machine. I backed up all the project files daily on another PC and another copy on a remote site PC. When I try to load the project on my main PC, none of the Forms and Modules are loaded. The Forms and Modules files are listed in the .vbp file. Thinking it might be a corrupted file problem, I tried to open the project on the remote PC and got the same problem. So I don't think it is vb6 installation problem or a PC problem. Just to be sure, I tried to open the project on the 3rd machine. Same thing again.

    I have never run into this problem before. Every thing seems to be there. Just don't know why the forms and modules are not loading. I don't get an error when I load the project. It just loads the project, no errors, finishes but does not show the Forms and Modules in the project explorer.

  9. #9
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Problem with Project file

    Can you open your project file in Notepad and copy all its contents and paste them here? Please wrap them in [CODE] ... [/CODE].
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  10. #10
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141

    Re: Problem with Project file

    Why not just open the project and re-add the forms and modules?

  11. #11
    Banned
    Join Date
    Nov 2012
    Posts
    1,171

    Re: Problem with Project file

    maybe you imported , forms & modules direct from other directory and now that u moved it ,ur project cant find , bro why dont u just open log check what cant be loaded and import them or add them again

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