>I recently purchased a new computer and I'm having a problem properly installing VFP 5.0 on it. It seems that not all of the ActiveX (OCX) controls will properly register themselves. Some do, such as the Calendar control; some don't, such as the Common Dialogs control. When they don't, I get the message: "Error: OLE Error Code 0x80040112; Appropriate license for this class not found." when I try to create an object on a form.
>
>I've tried the following without success:
>
>Complete re-installation (without uninstalling).
>
>Uninstalling and using a custom installation.
>
>Checked to make sure that the following files were in the \WINDOWS\SYSTEM subdirectory:
>
>MFC30.DLL
>MFC40.DLL
>MSVCRT10.DLL
>MSVCRT20.DLL
>MSVCRT40.DLL
>OLEPRO32.DLL
>
>All of the above were in the directory.
>
>Manually registered each of the OCX files using:
>
>REGSVR32
>
>In each instance the registration program reported that the file was successfully registered.
>
>I've check the Microsoft Knowledge Base and can find no other information on the problem.
>
>The only thing I haven't done is to delete the files left behind from the uninstall.
>
>Any ideas or suggestions regarding a potential solution would be greatly appreciated.
Try looking at the registry under the ole section and see if the CLISD for the controls that aren't working are being used by other applications on in the registry.
Make sure the syntax for the calling of the object is correct (it is case sensitive).
>
>George