Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UNC & Foxpro 2.6
Message
From
20/07/2005 08:48:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
20/07/2005 02:06:42
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP SP2
Network:
Windows XP
Database:
DB2
Miscellaneous
Thread ID:
01033818
Message ID:
01034210
Views:
19
>Tks mr Hilmar,
>
>I know that it work if I map drive, but in that case
>if I want to start same program from two diferent computers
>makes me problem becouse mapping not same.
>
>best regard
>Milivoje

You can have two different shortcuts to your program.

Any paths should be relative, or at least configurable. For example, make the main directory for your application z:\ or z:\MyApp. Make this the startup directory, in the shortcut.

Then, if put your data into a directory "data", don't specify the complete path; just access a table like this:
use data\MyTable
That way, it doesn't matter if the letter changes from Z: to X:, or if you add additional directories.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform