Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UNC & Foxpro 2.6
Message
De
20/07/2005 08:48:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
20/07/2005 02:06:42
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Versions des environnements
Visual FoxPro:
FoxPro Dos
OS:
Windows XP SP2
Network:
Windows XP
Database:
DB2
Divers
Thread ID:
01033818
Message ID:
01034210
Vues:
20
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform