Did you register the DLL with the /Codebase flag on RegAsm? If not it will be expecting to find the DLL in the GAC, which of course won't be the case...
For more info on calling .Net COM components from VFP look here:
http://www.west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp+++ Rick ---
>I'm having the same problem - I cannot seem to get a .NET dll to work from within VFP 8.0 SP1. The dll, foxprotest.dll, has a class called "test" and this class contains a method called "tryit". My code to call this dll looks like this:
>
>loObject = CREATEOBJECT("foxprotest.test")
>
>Executing this causes an error: "OLE error code 0x80070002: The system cannot find the file specified"
>
>The .NET dll was created by someone else, a very experienced .NET developer. It *has* been registered on my machine using: RegAsm foxprotest.dll RegAsm says it was successfully registered. A peek in the Registry confirms this. I have set the default directory to the one containing the foxprotest.dll
>
>Still, every time I try to call it, I get an error...Any help would be *greatly* appreciated.
>
>-RW-