Re: Calling .Net dll from Fox

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Darwin" <darwin@xxxxxxxxxxx> wrote in message news:OimXKjqdIHA.4164@xxxxxxxxxxxxxxxxxxxxxxx
I don't know where to post this because it runs across 2 languages but here we go:
I have a class "ImageProcessing.captcha" it works correctly on the development box but fails on the target machine.
It fails on
o = CREATEOBJECT("ImageProcessing.Captchas")
Error message "OLE error code 0x80070002: The system cannot find the file specified"
There is no init code in the .Net class. The class was developed with VS2005
The class has been registered with regasm which returned with "Types registered successfully"

The target machine has the 2.0 .Net framework installed.

Any ideas?

IIRC, VFP doesn't know where the assembly registry is so you have to make a local copy of the dll available to your VFP program.

.



Relevant Pages

  • Re: Cannot create table in eVB - "cannot open the device or file specified"
    ... then actually install the package so that the registry knows where things ... Using the Open without the Options parameter set yields that same ... but this always fails with an 'object expected' error. ...
    (microsoft.public.pocketpc.developer)
  • Re: Decimal fieldss precision is too small to accept the numeric you attempted to add
    ... I don't know the Scale and Precision of your Decimal fields, ... case something is actually overflowing (as the error message suggests). ... both of those, still fails. ...
    (microsoft.public.access.queries)
  • Re: Unparsable Record
    ... I tried simply importing 1 column - deleting all the rest. ... Method 'ExecuteTempImexSpec' of object '_WizHook' failed error message. ... If that fails, delete 11 more columns so only the first 11 ... importing the first column - skipping all the other columns, ...
    (microsoft.public.access.externaldata)
  • Re: Permanently Disabling Content Advisor
    ... If that fails, post the exact error message to a newsgroup about IE. ...
    (microsoft.public.security)
  • RE: Problem with SetFocus
    ... An Engineers Prayer: ... when all else fails, ... I tried OnError Resume Next to suppress the Error message and now it works ... the error message suppressing. ...
    (microsoft.public.access.modulesdaovba)