Thanks Sergey.
I just installed .Net 1.1, and I need to study the article.
We also use web connection.
Thanks.
>See
http://west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp>
>>Hi, I am trying to use a C# function assembled in a DLL, it was provided by another company but I get this error "Cannot find entry point".
>>
>>I am trying this code:
>>
>>DECLARE integer getCheckDigit IN ValidacionClaveSecreta.dll
>>? getCheckDigit("001123456789")
>>
>>
>>Or should I use CreateObject() ?
>>
>>
>>Please any one could tell me how to do it.
>>This function receives a string of digits and returns an integer (Check Digit)
>>
>>I already registered the DLL (ValidacionClaveSecreta.DLL) under .Net Configuration 1.1 but I don't know how to invoke it from VFP
>>
>>Only a member is exposed, the public function CheckDigitGeneration()
>>The company explains this C# sample code:
>>
>>
>>CheckDigitGeneration objCheckDigit = new
>> CheckDigitGeneration(txtClave.Text);
>>
>>lblCheckDigit.Text = objCheckDigit.getCheckDigit().ToString();
>>