Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms not included in build

Status
Not open for further replies.

glamb

Programmer
Dec 29, 2009
32
US
I inherited an app that has forms built using the form wizard. If I try and build the project from scratch (using just the main program and pulling in all referenced as it builds) I find that all the forms that were built with the wizard are missing. Why doesn't the builder pull them into the project?
 
Couple of possibilities:

1. Have you checked that the form in question is not excluded from the project. Look for the form in the project, and check to see if has an icon next to it, consisting of a circle with a line through it. If it has, right-click on the file, and choose Include. That will fix it.

2. If the form is not in the project (after the build), it could be because it is only indirectly referenced in your code (for example, with DO FORM <name of variable holding form name>). In that case, the solution is simply to add the form to the project manually.

Hope this helps.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Thanks, Mike, but I guess my question is WHY they aren't included.
I create a new project and include only the main program. Then build the project. I get dialogue boxes asking me for locations of files that it is pulling in including the folder where the 'wizard' forms are located. After the build I look at all the forms it has pulled in and only the 'wizard' forms are missing. I get no errors in the build.
Other non 'wizard' forms are referenced indirectly in the code and are included.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top