Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mapping and Unmapping
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00137678
Message ID:
00137825
Vues:
16
>Hi again Mark,
>
>This *might* work. I can't seem to get it to take (we're running Client 32 which may explain it), but you might.
>DECLARE SHORT SetEnvironmentVariable IN Win32API;
>  STRING @lpname, STRING @lpszValue
>lcname = 'PATH'
>* lcpath is your path setting
>llresult = (SetEnvironmentVariable(@lcname, @lcpath) # 0)
>Let me know how it turns out.

No go. We use Client32 as well. The result returns .T. but the path env variable does not change. I set lcPath = Getenv('path') + ";I:."
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform