Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding w/ various directories
Message
 
 
To
22/08/2000 12:20:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00407809
Message ID:
00407816
Views:
24
>I am having trouble with users installing my app in a directory other than the one in which it was created. For example if I created it in c:\myapp\ and the user installs it in c:\soft\apps when they run the app they get a message saying the data c:\myapp\data.dbf (or whatever dbf is appropriate) could not be found. It seems as though all of the controls (combos, lists etc) are somehow linked to the directory where the data resided when the forms were created. I would rather have the user install it where they want. I'm sure this is a simple problem but any help would be greatly appreciated

As long as the table is located on the same physical drive as the form with the controls, VFP will store a relative path. If you keep the same relative path structure you should be okay.

If the table is located on a different volume/drive then VFP stores the entire path. Is this the case in your application?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform