Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data environment
Message
From
10/09/1999 11:25:34
 
 
To
10/09/1999 08:17:11
Bill Tetrault
Northern Trust Value Investors
West Palm Beach, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00263304
Message ID:
00263368
Views:
17
Hi Bill,

In addition to what Evan said have you considered using UNC's?

cd '\\borg\folders'

This way the program won't care which drive a workstation has mapped to a particular server.

I also use fullpath('') to get the entire path to current location.

And one other thing I do in case you run into it. I set up a system variable in my autoexec.bat I put a line in this file that says: glDeveloper = .T.

Note: VFP will see the ".T." as a character.

glDeveloper = IIF(GETENV('glDeveloper') = ".T.",.T.,.F.)

Then in my code I check if gldeveloper is true and the location the app was launched from to see if it should run in developer mode thus junk data.


>I've developed an application on a network, I do my development work
on "p:\development\" and data stor in a subdir of that called
data, problem I'm having is when I compile
and install the app for a user with the same structure yet different
drive say "g:\" with a data subdir the app runs yet prompts
the users for location of the database.
Previous
Reply
Map
View

Click here to load this message in the networking platform