Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registry entries in Codemine
Message
De
03/03/2003 02:35:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00759889
Message ID:
00760259
Vues:
15
Torgny,


>Hi Jens Erik,
>
>Thanks for your response.
>
>Does your exe always look in a specified path for updated appreg files, and at startup of app import/update keys ?

Yes, we always have a Data\Metadata directory where we check for these files. We only do the check at startup when our internal data version number has increased, but I don't think doing this on every startup will have much effect on the time it takes to start.

Most of our apps work with multiple data sets (the user works with different companys), so we need to do quite a bit of checking at startup.


>Do you have appreg02-files on each klient ?

Yes. Our Installshield script always places this on every user's PC and writes the proper string value to the 'Local' path setting in the registry. I haven't checked how much this actaually effects speed, but since Codemine recommended it, we chose to do it this way.


Jens Erik


>
>/Torgny
>
>
>
>
>
>>Torgny,
>>
>>We distribute copies of appreg01 and appreg02 and when upgrading we import missing keys from the copy tables. We use the Import method on the registry object to do this.
>>
>>In version 6.21 we also had a copy of the database, since appreg01 is belonging to it. When converting to verson 7, we had problems closing the copy of the database after doing the import, and we ended up pointing to the wrong database. A workaround was to make the copy of appreg01 a free table, with another name.
>>
>>Jens Erik
>>
>>>I am using CM7.0 and i have some questions about using the registry. According to
>>>the docs it say that the best is to place a copy of the appreg02.* files locally
>>>on every client. But how do i assure that new entries that i made in the development
>>>environment is committed out to the client with an app upgrade ? In appreg02 there
>>>can be key values that are different for each client.
>>>
>>>Also the same problem with appreg01. I cannot just copy my development files over to
>>>the app server because that would mess up the value for the unique primary key counter.
>>>
>>>The main reason for this question is because i intend to add email functions to my app
>>>and i would like to place registry entries for mailserver, some emailaddresses and some
>>>other values in the registry.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform