Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 Tip-o-the-day SYS(3056 ,1)
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP6 Tip-o-the-day SYS(3056 ,1)
Divers
Thread ID:
00123037
Message ID:
00123037
Vues:
41
Folks,

Ever wanted to change the registry settings for VFP and find out that it makes no difference. VFP reads the registry when it loads and if you write code to make changes to the registry they have no effect on the current session in VFP until you quit and load it again.

Enter the SYS(3056 ,1) function. It makes VFP reread its registry settings and update the session.

Issuing SYS(3056) will update all of VFP settings that are in the registry, using the optional 1 argument will cause it to update the registry settings that don't have a corresponding SET command, the settings that do have SET commands are not update and the file locations are not updated when the argument of 1 is used. The function returns an empty string.
Répondre
Fil
Voir

Click here to load this message in the networking platform