Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Field-Mappings through code or configuration
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00047247
Message ID:
00047498
Vues:
24
>>Thanks for the reply Barbara.
>>Just to clarify the question a little ... we are actually trying to change the mappings/classes used for the drag-and-drop in the form designer before the form is created rather than after the event.
>>Naturally we can go into the tools\options sheets and change the mappings there manually but we were hoping to automate that to make it easier to swap between projects (we are very lazy programmers).
>
>Here is an idea. I haven't tried it but I believe there is a solution somewhere in this answer.
>Go to Regedit. Find the key HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\5.0\Options\IntelliDrop\FieldTypes
>Goto the File menu and say export registry entries. This will copy those registry entries to a file with a .reg extension.
>I believe if you run the command regedit with a .reg file as a command line parameter it will automatically update the registry with the values. This means you can create a bunch of .reg files for each project and update the registry before using your project.
>
>Hope this helps.
>Darrel

Darrel, I saw that Craig had used this method successfully. Would you write it up and submit it to the Knowledge Base here? It would be useful for others to have this available.

Thanks,
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform