Looks like an error in the Init method of the VFP class. Can you post the code from there?
>Hi, I am trying to implement Calvin Hsia's T1.C1 class to execute VFP procedures from .NET and I am getting an error in the following VB Net 2005 command:
>
>Dim ot1 As New t1.c1
>
>System.Runtime.InteropServices.COMException was unhandled
> ErrorCode=-2147467259
> Message="Creating an instance of the COM component with CLSID {C852893C-5273-4070-BD2E-B24B531769B5} from the IClassFactory failed due to the following error: 80004005."
>
>What can this be?
>
>TIA,
>
>Alex
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer