Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OCX 0x80040112 Registry Error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037287
Message ID:
00037292
Vues:
34
>>>I looked at all the answers to my previous threads (VFP5 EXE Problem and VFP5 Config.fpw Problem) and decided to un-install and re-install VFP5. Same problem with the EXEs, but now my OCXs wouldn't run, giving the error 0x80040112 because the key was missing in the Registry. I looked at 6-months of threads on this subject, and none of the answers worked. However, I am now an EXPERT at re-installing VFP. I've done it 4 times since lunch today :-((
>>>
>>>Finally, I did a Registry Export of JUST the correct registry item (It's under HKEY_CLASSES_ROOT, Licenses, and starts DB4C....) from my laptop, and an import onto my desktop. My OCXs are now working fine!
>>>
>>>Several of the threads mentioned the Registry Key, and that you could get a new one from MS Tech Support, but it was Friday evening. I wasn't aware that a Registry entry could be exported and moved to another computer, but it's simple. Export and import are on the File Menu, and you just highlight the item you want to move. You can also use the export to backup your registry before you install/uninstall software. This may help solve some of the other OCX problems we've seen about installing software that uses OCXs.
>>>
>>>My thanks to Glenn Chesnut whose message told me where to look for the key, and to others whose suggestions gave me hints.
>>>
>>>Hope this will help others!
>>>
>>>Barbara
>>
>>I have talk about this on a previous tread called 'How to register an OCX?'
>>the few weeks ago.
>>
>>There is my answer:
>>
>>--cut
>>
>>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.
>>
>>--cut
>>
>>
>>:-)
>
>Gerald, I'm sorry I didn't see your thread, or I would have given you credit. (And saved myself a lot of grief, too) I thought I'd found EVERYTHING on UT in my search. What you just laid out (more clearly than I did) is just what I found for myself, except that I was using it to get my VFP to run correctly, not to install an EXE on a user's computer. Should work the same....
>
>Thanks,
>Barbara

You don't have to be sorry for me...
The thread was there and you spend some precious hours.

I'm sorry for you!

:-)
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
Répondre
Fil
Voir

Click here to load this message in the networking platform