Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper way to do workstation settings
Message
De
09/08/2006 10:04:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/08/2006 09:59:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01144068
Message ID:
01144120
Vues:
25
>Well, it turns out there could be multiple MAC addresses, etc.
>
>I have an idea:
>
>You are logging into my app.
>If not file("ws_settings.txt") && in ws's home dir
> Create a ws_settings record (it has a guid())
> Create ws_settings.txt storing the guid in the file.
>endif
>If not file("ws_settings.txt")
> exit app
>endif
>Use the guid stored in ws_settings.txt to find the appropriate record in ws_settings table.
>
>Am I missing anything?

That seems appropriate.

Continuing from one of my previous messages, perhaps you will want to separate machine-specific settings, from user-specific settings. The part you are looking into now is the machine-specific settings.

As an example, the Visual Extend framework stores the following for each user, in DBF files, giving the effect of a "roaming profile":
  • The list of the last forms opened (under the "File" menu).
  • The position and size of each form.
  • The order and width of each column in a grid.
  • ... and a few others more, but the ones above are the most noticeable ones.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform