Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with HOME
Message
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00086642
Message ID:
00086864
Views:
29
>>We are having problems with running .exe files at different locations on the LAN. Even if I move the entire directory with source code in the same relative location, we still have problems with tables not existing and cannot find file messages. Do I have to run setup and do a distribution before I move anything around? It seems as if the project manager doesn't keep track of project files when making an exe. Sometimes when I design a table it winds up in /Data and sometimes it winds up in the project directory. ??
>>
>>Eric K.
>
>Are you quite sure that there are no hard coded paths in your code? Also, check your SET DEFAULT and SET PATH settings in your calling program. If you have a sub-dir called \Data, include that in your path, or, if your data files reside in a network drive (not the same as your exe), it is easier to declare a global var and assign it the full path of your file location and access your files accordingly.
>
>To answer your query about where your table ultimately lands up, VFP by default will create all files in the default directory, unless you specify another dir to create the file.

I'll check again but the paths are setup by the application wizard. They include all subdirectories in the project directory and I don't include anything that is not located inside the project dir. As far as default is concerned, does this mean if I click new table in project manager, it will create the table, perhaps, somewhere else on the LAN, if I happen to step away from the project for a moment to another project? I have been assuming that the project manager is smart enough to know the table should be accessable unless otherwise specified.
Bad assumption I suppose. So, this means the location of tables/forms etc. is arbitrary in the project manager?

Eric K.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform