Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why vfp program doesn't work with windows user limited ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01222138
Message ID:
01236357
Vues:
38
Hi Vidar.

>I understand that you instead use C:\Users\Public\...
>
>Do you then just hardcode C:\Users\Public\... into the installer?

No, hard-coding is bad. For one thing, if the user is running on XP, C:\Users won't exist. Also, although it's rare, C:\Users can be redirected somewhere else. Use the Windows API functions to get the desired path; it'll return the correct value regardless of the operating system.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform