Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with the username variable
Message
De
04/01/2006 16:58:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01083332
Message ID:
01083344
Vues:
14
>I have a bit of an issue. We have a standalone version of the inhouse program that goes onto the salesforce laptops. We have had a new laptop purchased and the machine was setup with a different name than the previous laptop. Mike vs. Michael. The program uses the Getenv('USERname') to retrieve the username and verify against a provided list. I cannot figure out how,where, or what info to change for the new laptop to work like the old laptop did. Any suggestions?

Right-click on My Computer
Go to Properties
Go to the Advanced tab
Click on Environment Variables
Edit the appropriate environment variable (it's probably a System environment variable)

Above instructions are for W2K, may differ slightly on XP
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform