Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APP Can Not Find Forms
Message
 
 
To
27/03/2000 23:27:44
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00351219
Message ID:
00351325
Views:
21
I am not sure what your problem is here. You build a project but do not yet have an APP or EXE compiled, so by issuing a DO MAIN.PRG everything works. All forms and classes have been included in the project.

Next, when you build the APP or EXE and run the APP or EXE, the MAIN.PRG can not find the first form called. This fails because the form can not be found in the current directory.

I do not understand where you are setting up a different path. Are you issuing a SET PATH command in the MAIN.PRG? What does the code look like in the MAIN.PRG where you are calling your first form?

Or is this a problem looking for the data [tables/views] in one place but not finding them because your data is in a different relative path?

>Hi,
>
>A form is included in a project. If I build the project and run it by calling the first file VFP finds the form fine since it is in the path set up for such a case.
>
>If I build the app I set up a different path since VFP is supposed to look for files in the app file. However, it is looking for it in the current directory, which is a data directory. This has always worked fine in FPD.
>
>What's wrong ?
>
>TIA,
>
>Alex
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform