Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.Net control
Message
De
17/08/2004 14:41:41
 
 
À
28/07/2004 09:25:51
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Divers
Thread ID:
00923742
Message ID:
00933895
Vues:
21
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-
-RW-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform