Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to register an OCX file?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00033210
Message ID:
00033362
Vues:
52
>>>>You can check search the Registry for references to your .ocx, simply by searching on the file name (it's the cheater's method, but it works). Make sure you make no changes to the Registry when you do this - otherwise your machine may become UNBOOTABLE.
>>>
>>>Taking this opportunity, which one is the registry file?
>>
>>The Registry is not a single file - it is a set called hives. *DO NOT* attempt to open any of its components in any way other than using the Registry Editor - the contents will make no sense, and you are likely to toast your operating system.
>

With regedit you can easily create a '.REG' file.

1.Open regedit.
2.Select HKEY_CLASSES_ROOT.
3.Find the OCX reference you check for.
4.Highlite the folder (select it)
5.Select File/Export ...
6.Check the 'selected branch' radio button and give a name to the file
7.Click OK

All infos about the selected branch are saved to the file with the '.REG' extension.
This extention is associate with the registry base.
When you doubleclick on it or run it, the contained infos are added to the registry base.

I'm not sure but i think you can try to run it as post intallation exe.


Hope this help. ;0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform