Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to record a value to a property at runtim
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00170090
Message ID:
00170350
Vues:
22
>>Hi all,
>>
>>I wonder if this is possible. Basically, I'd like to record in one of the form's properties a value that is selected by the user and not having to record that in a table, but in the actual form's table (this is at runtime). I know the property must be initialized, so the idea is, in the next session the user will have as default value what was selected in a previous session.
>>
>>Thanks,
>>
>>
>>Gil
>
>I did this some time ago. When each user runs my exe, it needs to present them with the value they entered last time. Each user then runs the same exe with their own value in it. My solution: API call to the registry - worked perfect!

Nigel,

I've never done API calls to the registry to write a value, but the idea really intrigues me. Do you have any samples that I could take a look at or pointers to sites that have them?. The registry is one of those mysterious "I-don't-want-to-mess-with-it-because-Microsoft-does" kind of areas, but I'll definitely want to give a try.


Merry Christmas,


Gil
For every bug fixed, there is a bigger bug not yet discovered.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform