Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows environment variable
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01050243
Message ID:
01057666
Vues:
12
hi Martin, Thanks for your reply , I've been away for a whie :-)
I think what you wrote it's just what iwas looking for.
Thanks again
Alessio

>Hi Alessio,
>
>
>DECLARE INTEGER SetEnvironmentVariable  IN kernel32.dll STRING @, STRING @
>DECLARE INTEGER GetEnvironmentVariable  IN kernel32.dll STRING @, STRING @, INTEGER
>
>=SetEnvironmentVariable(("LoaderState"+CHR(0)),("0"))
>
>* Get environment
>lcPom=space(254)
>lii=GetEnvironmentVariable(("LoaderState"+CHR(0)),@lcPom, LEN(lcPom))
>?LEFT(lcPom,lii)
>
>
>MartinJ
>
>>I need to change the setting of a windows environment variable programmatically.
>>Is It Possible ?
>>
>>Thanks
>>Alessio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform