Michael,
Any time you get that error get FoxReg from the files here and run it. It resets the registry so VFP 'sees' the OCXs and DLLs it should see.
HTH
Barbara
>I used the code you gave and it worked fine. However, when I run it on my test machine I get this error:
>
>63 80040112 : Appropriate License for this class not found
>
>I did regsvr32 for all the dll's and ocx's (oleaut32.dll mswinsck.ocx, comcat.dll)
>
>Any thoughts?