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
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
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!
Re: VB Project Opening Problem
Quote:
Originally Posted by
Nightwalker83
@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:p
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?
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.
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?
Re: VB Project Opening Problem
Quote:
Originally Posted by
ladoo
well emm did u have this issue before , i have this is why i no
Well, the fact the OP says
Quote:
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.
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.:mad:
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].
Re: Problem with Project file
Why not just open the project and re-add the forms and modules?
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