-
Where in a VB project (.vbp) is(are) the location(s) of the project's forms? I somehow got one of my forms into a different folder than my project, moved it to the folder containing my VB project, but now the project can't find it. It says it's looking for it in the folder I removed it from.
So, how can I specify within my project the location of the form?
Thanks,
Don Goyette
-
Open your VBP file in Notepad and find the line that says Form=. If the path is somethging like this.
Form=..\..\My Documents\Form1.frm
Then you can change it to
Form=Form1.frm. This changes the directory to the directory the Project is in.
-
Load the project; it will say that there is an error and
ask you to continue (click yes). Once the project is loaded, click: Project and Add Form.
Select: Existing form and browse to the form that needs
to be included in your project (the one that gave you an error). Now save the form to the directory where the project is in and finally save your project again.
This should solve the problem