There is a .REG file here in the libraries that you can install to repair the damage to the registry entries.
>After I had to reinstall my VFP 5.0 (because of a crash) each time I
>try to use an Activex object (like Progressbar) I get the following error . 0x80040122 APROPRIATE LICENSE FOR CLASS NOT FOUND.
>If I run some of the samples about OLE they all work fine but if I try to open the code I get the same error.